]> granicus.if.org Git - python/commitdiff
patch #664131, fix config command on OSX and Linux
authorJust van Rossum <just@letterror.com>
Mon, 3 Feb 2003 11:43:54 +0000 (11:43 +0000)
committerJust van Rossum <just@letterror.com>
Mon, 3 Feb 2003 11:43:54 +0000 (11:43 +0000)
Lib/distutils/command/config.py

index b6f5ad1dc5a2d1b0b6bd13a3598d660cefc53bec..3bd537a6e8066df32c5ec26fbeda1f08e5b12bdb 100644 (file)
@@ -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)