diff options
Diffstat (limited to 'Lib/distutils/command')
-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) |