]> granicus.if.org Git - python/commitdiff
Call 'customize_compiler()' after getting CCompiler object.
authorGreg Ward <gward@python.net>
Sun, 25 Jun 2000 02:10:58 +0000 (02:10 +0000)
committerGreg Ward <gward@python.net>
Sun, 25 Jun 2000 02:10:58 +0000 (02:10 +0000)
Lib/distutils/command/build_clib.py

index 7106882d79240d00f9d5b522847673fcae186411..450dae1754f38aa1979876a246636dcf36934bba 100644 (file)
@@ -23,6 +23,7 @@ import os, string
 from types import *
 from distutils.core import Command
 from distutils.errors import *
+from distutils.sysconfig import customize_compiler
 
 
 def show_compilers ():
@@ -111,6 +112,7 @@ class build_clib (Command):
                                       verbose=self.verbose,
                                       dry_run=self.dry_run,
                                       force=self.force)
+        customize_compiler(self.compiler)
 
         if self.include_dirs is not None:
             self.compiler.set_include_dirs (self.include_dirs)