summaryrefslogtreecommitdiff
path: root/android/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'android/build.py')
-rwxr-xr-xandroid/build.py1
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 = ''