diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index 3bd537a6e80..f18c79ff433 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -17,6 +17,7 @@ from types import * from distutils.core import Command from distutils.errors import DistutilsExecError +from distutils.sysconfig import customize_compiler from distutils import log LANG_EXT = {'c': '.c', @@ -104,6 +105,7 @@ def _check_compiler (self): if not isinstance(self.compiler, CCompiler): self.compiler = new_compiler(compiler=self.compiler, dry_run=self.dry_run, force=1) + customize_compiler(self.compiler) if self.include_dirs: self.compiler.set_include_dirs(self.include_dirs) if self.libraries: