diff options
author | Max Kellermann <max@musicpd.org> | 2020-01-12 12:47:31 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-01-12 12:47:40 +0100 |
commit | ab41c16eb50535c672a1ce78f7f68181baa8f39a (patch) | |
tree | eb60f21b513062d89ea2335f23cce1bbf633a6e0 | |
parent | 04101f37b820583387e3b93e3bdd50f791438e0e (diff) |
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.
-rwxr-xr-x | android/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/build.py b/android/build.py index d587982cd..c48472546 100755 --- a/android/build.py +++ b/android/build.py @@ -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 = '' |