Commit ab41c16e authored by Max Kellermann's avatar Max Kellermann

android/build.py: add -Wl,--exclude-libs=ALL

Don't export the symbols of all those static libraries. Most importantly, don't export the whole libc++ ABI.
parent 04101f37
......@@ -112,6 +112,7 @@ class AndroidNdkToolchain:
self.cxxflags = common_flags
self.cppflags = ' -isystem ' + os.path.join(install_prefix, 'include')
self.ldflags = ' -L' + os.path.join(install_prefix, 'lib') + \
' -Wl,--exclude-libs=ALL' + \
' ' + common_flags
self.ldflags = common_flags
self.libs = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment