1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed 65047c2

have the version-script actually limit symbols exported on posix

  • Participants
  • Parent commits e89396c
  • Branches default

Comments (0)

Files changed (1)

File rpython/translator/platform/posix.py

View file
 
         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: