diff options
| author | Andrew M. Kuchling <amk@amk.ca> | 2003-02-18 01:28:51 +0000 |
|---|---|---|
| committer | Andrew M. Kuchling <amk@amk.ca> | 2003-02-18 01:28:51 +0000 |
| commit | 679bc9fce57b6d29fbdf079a6f6e7a61603c89f7 (patch) | |
| tree | 7e936b4803c3a6fab5b8f24f999d7a0626218a6d | |
| parent | d87eeb9477e2ffed3ac1af5ba9df086da9461517 (diff) | |
| download | cpython-git-679bc9fce57b6d29fbdf079a6f6e7a61603c89f7.tar.gz | |
[Patch #681504] Call customize_compiler in config command
| -rw-r--r-- | Lib/distutils/command/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index 3bd537a6e8..f18c79ff43 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/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: |
