Author: Brian Kearns <[email protected]>
Branch:
Changeset: r60945:65047c26392c
Date: 2013-02-07 16:38 -0500
http://bitbucket.org/pypy/pypy/changeset/65047c26392c/
Log: have the version-script actually limit symbols exported on posix
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
@@ -49,10 +49,10 @@
response_file = self._make_response_file("dynamic-symbols-")
f = response_file.open("w")
- f.write("{\n")
+ f.write("{\n\tglobal:\n")
for sym in eci.export_symbols:
- f.write("%s;\n" % (sym,))
- f.write("};")
+ f.write("\t\t%s;\n" % (sym,))
+ f.write("\tlocal:\n\t\t*;\n};")
f.close()
if relto:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit