]> granicus.if.org Git - python/commitdiff
[Patch #681504] Call customize_compiler in config command
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 18 Feb 2003 01:28:51 +0000 (01:28 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 18 Feb 2003 01:28:51 +0000 (01:28 +0000)
Lib/distutils/command/config.py

index 3bd537a6e8066df32c5ec26fbeda1f08e5b12bdb..f18c79ff4330920ce26ae13c197522c43d92d98e 100644 (file)
@@ -17,6 +17,7 @@ import sys, os, string, re
 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 @@ class config (Command):
         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: