summaryrefslogtreecommitdiff
path: root/android/Bootstrap
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-21 18:09:10 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-21 22:54:36 +0200
commit8656ff7212e319cd96d799ee0f2f8bb156ad6d71 (patch)
tree6a89c23152e46b4b3c80007861f5c01c6f2e6bf6 /android/Bootstrap
parent4d258787559426e1e2a0279888eb669622889899 (diff)
Do strip the .so that will be included in the .apk
There is no use for non-exported symbols and debugging information in the .so on the device. Debugging with ndk-gdb uses the non-stripped copy of the .so located on the build machine and works fine (as fine as the NDK gdb can work) even if the .so that is actually running on the device includes no debugging information. Change-Id: If4e77284a74427261eefac0e167ed42161c773f8
Diffstat (limited to 'android/Bootstrap')
-rw-r--r--android/Bootstrap/Makefile.shared2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/Bootstrap/Makefile.shared b/android/Bootstrap/Makefile.shared
index 1f1301367a97..9eb1800ae51e 100644
--- a/android/Bootstrap/Makefile.shared
+++ b/android/Bootstrap/Makefile.shared
@@ -92,7 +92,7 @@ $(OBJLOCAL)/liblo-native-code.so : $(wildcard $(OUTDIR)/lib/lib*.a) native-code.
$(SODEST)/liblo-native-code.so : $(OBJLOCAL)/liblo-native-code.so
mkdir -p $(SODEST)
- cp -a $(OBJLOCAL)/liblo-native-code.so $(SODEST)/liblo-native-code.so
+ $(STRIP) -o $(SODEST)/liblo-native-code.so $(OBJLOCAL)/liblo-native-code.so
# shrinkme $(STRIP) -o $(SODEST)/liblo-native-code.so $(OBJLOCAL)/liblo-native-code.so