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.
This commit is contained in:
parent
04101f37b8
commit
ab41c16eb5
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in New Issue