From ca3fec716203db814e297894c09e1daa8fbbef25 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 3 Feb 2003 11:43:54 +0000 Subject: [PATCH] patch #664131, fix config command on OSX and Linux --- Lib/distutils/command/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index b6f5ad1dc5a..3bd537a6e80 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -151,7 +151,8 @@ def _link (self, body, 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)