diff options
author | Just van Rossum <just@letterror.com> | 2003-02-03 11:43:54 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-02-03 11:43:54 (GMT) |
commit | ca3fec716203db814e297894c09e1daa8fbbef25 (patch) | |
tree | 4582fa20c0991f7435a6dc2b427dd81d6007e7eb /Lib/distutils | |
parent | 35a92ce9da03a7a8acce565708eba96bf7cc2f1c (diff) | |
download | cpython-ca3fec716203db814e297894c09e1daa8fbbef25.zip cpython-ca3fec716203db814e297894c09e1daa8fbbef25.tar.gz cpython-ca3fec716203db814e297894c09e1daa8fbbef25.tar.bz2 |
patch #664131, fix config command on OSX and Linux
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/command/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index b6f5ad1..3bd537a 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -151,7 +151,8 @@ class config (Command): library_dirs=library_dirs, target_lang=lang) - prog = prog + self.compiler.exe_extension + if self.compiler.exe_extension is not None: + prog = prog + self.compiler.exe_extension self.temp_files.append(prog) return (src, obj, prog) |