summaryrefslogtreecommitdiff
path: root/command/config.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-02-18 01:28:51 +0000
committerAndrew M. Kuchling <amk@amk.ca>2003-02-18 01:28:51 +0000
commita65727b5db3ecf4546e808fcc72eb14fbea9cf42 (patch)
tree399717220291a09014d56035408d9d7cd8d2a9de /command/config.py
parent3ea65a4bba9d3ce1086bc983c16c5f0feea8055b (diff)
downloadpython-setuptools-git-a65727b5db3ecf4546e808fcc72eb14fbea9cf42.tar.gz
[Patch #681504] Call customize_compiler in config command
Diffstat (limited to 'command/config.py')
-rw-r--r--command/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/command/config.py b/command/config.py
index 3bd537a6..f18c79ff 100644
--- a/command/config.py
+++ b/command/config.py
@@ -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: