[pypy-svn] r59384 - pypy/trunk/pypy/translator/platform
arigo at codespeak.net
arigo at codespeak.net
Fri Oct 24 18:57:03 CEST 2008
Author: arigo
Date: Fri Oct 24 18:57:02 2008
New Revision: 59384
Modified:
pypy/trunk/pypy/translator/platform/__init__.py
Log:
Don't create executables with a trailing dot if exe_ext == ''.
Modified: pypy/trunk/pypy/translator/platform/__init__.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/__init__.py (original)
+++ pypy/trunk/pypy/translator/platform/__init__.py Fri Oct 24 18:57:02 2008
@@ -128,7 +128,8 @@
exe_name = py.path.local(os.path.join(str(ofiles[0].dirpath()),
outputfilename))
if standalone:
- exe_name += '.' + self.exe_ext
+ if self.exe_ext:
+ exe_name += '.' + self.exe_ext
else:
exe_name += '.' + self.so_ext
return self._link(self.cc, ofiles, self._link_args_from_eci(eci),
More information about the Pypy-commit
mailing list