Created
December 27, 2015 20:25
-
-
Save phausler/0a2f5578675e42e60d69 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/product.py b/lib/product.py | |
index 82684cc..bcc6b6c 100644 | |
--- a/lib/product.py | |
+++ b/lib/product.py | |
@@ -115,7 +115,7 @@ class DynamicLibrary(Library): | |
def generate(self): | |
if Configuration.current.target.sdk == OSType.Linux: | |
- return Library.generate(self, ["-shared", "-Wl,-soname," + self.product_name, "-Wl,--no-undefined"]) | |
+ return Library.generate(self, ["-shared", "-Wl,-soname," + self.product_name, "-Wl,--no-undefined", "-Wl,-Bsymbolic"]) | |
else: | |
return Library.generate(self, ["-shared"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment