patch #664131, fix config command on OSX and Linux

This commit is contained in:
Just van Rossum 2003-02-03 11:43:54 +00:00
parent 35a92ce9da
commit ca3fec7162
1 changed files with 2 additions and 1 deletions

View 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)