[pypy-svn] r73515 - pypy/branch/cpython-extension/pypy/translator/platform

xoraxax at codespeak.net xoraxax at codespeak.net
Wed Apr 7 19:19:19 CEST 2010


Author: xoraxax
Date: Wed Apr  7 19:19:18 2010
New Revision: 73515

Modified:
   pypy/branch/cpython-extension/pypy/translator/platform/posix.py
Log:
Also call the gnu linker correctly with all external symbols when the linking is done without makefile.

Modified: pypy/branch/cpython-extension/pypy/translator/platform/posix.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/translator/platform/posix.py	(original)
+++ pypy/branch/cpython-extension/pypy/translator/platform/posix.py	Wed Apr  7 19:19:18 2010
@@ -36,6 +36,10 @@
                                  cwd=str(cfile.dirpath()))
         return oname
 
+    def _link_args_from_eci(self, eci, standalone):
+        eci = eci.convert_exportsymbols_to_file()
+        return Platform._link_args_from_eci(self, eci, standalone)
+
     def _link(self, cc, ofiles, link_args, standalone, exe_name):
         args = [str(ofile) for ofile in ofiles] + link_args
         args += ['-o', str(exe_name)]



More information about the Pypy-commit mailing list