[pypy-svn] r74612 - pypy/trunk/pypy/translator/tool

wildchild at codespeak.net wildchild at codespeak.net
Fri May 21 00:29:01 CEST 2010


Author: wildchild
Date: Fri May 21 00:28:58 2010
New Revision: 74612

Modified:
   pypy/trunk/pypy/translator/tool/cbuild.py
Log:
--dynamic-list doesn't exist under FreeBSD. --export-dynamic and --version-script should be used instead and is still compatible with recent versions of binutils.


Modified: pypy/trunk/pypy/translator/tool/cbuild.py
==============================================================================
--- pypy/trunk/pypy/translator/tool/cbuild.py	(original)
+++ pypy/trunk/pypy/translator/tool/cbuild.py	Fri May 21 00:28:58 2010
@@ -282,7 +282,7 @@
             for sym in self.export_symbols:
                 f.write("%s;\n" % (sym,))
             f.write("};")
-            d['link_extra'] += ("-Wl,--dynamic-list=" + str(file_name), )
+            d['link_extra'] += ("-Wl,--export-dynamic,--version-script=" + str(file_name), )
         f.close()
         d['export_symbols'] = ()
         return ExternalCompilationInfo(**d)



More information about the Pypy-commit mailing list