From: Just van Rossum Date: Mon, 3 Feb 2003 11:43:54 +0000 (+0000) Subject: patch #664131, fix config command on OSX and Linux X-Git-Tag: v2.3c1~2093 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca3fec716203db814e297894c09e1daa8fbbef25;p=thirdparty%2FPython%2Fcpython.git patch #664131, fix config command on OSX and Linux --- diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index b6f5ad1dc5a2..3bd537a6e806 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)