summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_clib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-25 02:10:58 (GMT)
committerGreg Ward <gward@python.net>2000-06-25 02:10:58 (GMT)
commiteab969d70061b5f4643735ae68d385904360d221 (patch)
tree564875bcb2601815307235b6b75a7d4514fafb59 /Lib/distutils/command/build_clib.py
parent5ca84b83c766de8a836ae0a9fff5777b6299613b (diff)
downloadcpython-eab969d70061b5f4643735ae68d385904360d221.zip
cpython-eab969d70061b5f4643735ae68d385904360d221.tar.gz
cpython-eab969d70061b5f4643735ae68d385904360d221.tar.bz2
Call 'customize_compiler()' after getting CCompiler object.
Diffstat (limited to 'Lib/distutils/command/build_clib.py')
-rw-r--r--Lib/distutils/command/build_clib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py
index 7106882..450dae1 100644
--- a/Lib/distutils/command/build_clib.py
+++ b/Lib/distutils/command/build_clib.py
@@ -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)