aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2016-10-11 20:38:41 +0200
committerwsnipex <wsnipex@a1.net>2016-10-13 14:16:22 +0200
commitae06a53de5bd2f0596f46e177d089773983b068a (patch)
tree826ff9456ae2b5f41cbf09579725be68233555ae /tools
parent807f71865b897081f4c89653b2e674f9f245421d (diff)
[android] don't strip binaries in debug builds
Diffstat (limited to 'tools')
-rw-r--r--tools/android/packaging/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/android/packaging/Makefile.in b/tools/android/packaging/Makefile.in
index 992c9f36e1..89d81a5c6f 100644
--- a/tools/android/packaging/Makefile.in
+++ b/tools/android/packaging/Makefile.in
@@ -135,7 +135,9 @@ libs: $(PREFIX)/lib/@APP_NAME_LC@/lib@APP_NAME_LC@.so
find $(PREFIX)/lib/@APP_NAME_LC@/system -name "*.so" -exec cp -fp {} xbmc/obj/local/$(CPU)/ \;
cd xbmc/obj/local/$(CPU)/; find . -name "*.so" -not -name "lib*.so" | sed "s/\.\///" | xargs -I@ mv @ lib@
cp -fp xbmc/obj/local/$(CPU)/*.so xbmc/lib/$(CPU)/
+ifeq (@CMAKE_BUILD_TYPE@,Release)
$(STRIP) --strip-unneeded xbmc/lib/$(CPU)/*.so
+endif
install -p $(GDBPATH) ./xbmc/libs/$(CPU)/gdbserver
echo "set solib-search-path ./obj/local/$(CPU)" > ./xbmc/libs/$(CPU)/gdb.setup
echo "directory $(TOOLCHAIN)/sysroot/usr/include $(NDKROOT)/sources/android/native_app_glue" \