[pypy-commit] pypy default: merge heads

arigo pypy.commits at gmail.com
Tue Feb 21 04:25:28 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r90245:fc792f1074fd
Date: 2017-02-21 09:24 +0000
http://bitbucket.org/pypy/pypy/changeset/fc792f1074fd/

Log:	merge heads

diff --git a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py
--- a/rpython/translator/platform/posix.py
+++ b/rpython/translator/platform/posix.py
@@ -51,11 +51,12 @@
         return ["-Wl,--export-dynamic"]
 
     def _link(self, cc, ofiles, link_args, standalone, exe_name):
-        self._exe_name = str(exe_name)
         args = [str(ofile) for ofile in ofiles] + link_args
         args += ['-o', str(exe_name)]
         if not standalone:
+            self._exe_name = str(exe_name)
             args = self._args_for_shared(args)
+            del self._exe_name      # remove, otherwise __eq__() fails
         self._execute_c_compiler(cc, args, exe_name,
                                  cwd=str(exe_name.dirpath()))
         return exe_name


More information about the pypy-commit mailing list