[pypy-commit] pypy unbreak-freebsd: Use proper linker script on all that is FreeBSD, not just 7.x

sthalik noreply at buildbot.pypy.org
Thu Apr 11 15:59:51 CEST 2013


Author: Stanislaw Halik <sthalik at misaki.pl>
Branch: unbreak-freebsd
Changeset: r63229:5689b2860a13
Date: 2013-04-11 15:34 +0200
http://bitbucket.org/pypy/pypy/changeset/5689b2860a13/

Log:	Use proper linker script on all that is FreeBSD, not just 7.x

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
@@ -47,7 +47,7 @@
         if not eci.export_symbols:
             return []
 
-        if sys.platform == 'freebsd7':
+        if sys.platform.startswith('freebsd'):
             eci.export_symbols += ('__progname', 'environ')
 
         response_file = self._make_response_file("dynamic-symbols-")


More information about the pypy-commit mailing list