diff options
author | wsnipex <wsnipex@a1.net> | 2023-01-22 07:26:04 +0100 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2023-01-22 07:49:15 +0100 |
commit | 1f3d0a8c7c17b3f66ac32726ec9561b7ccda77ad (patch) | |
tree | 6f04789125bdd070c48aac8d5bd6254e893374b9 | |
parent | 09db987a1d6e0ccaa0db576ba148652e5d8f8c21 (diff) |
[android] strip abi version off cryptodome lib names
-rw-r--r-- | tools/android/packaging/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/android/packaging/Makefile.in b/tools/android/packaging/Makefile.in index ed32228620..d3a4d17c62 100644 --- a/tools/android/packaging/Makefile.in +++ b/tools/android/packaging/Makefile.in @@ -118,7 +118,7 @@ libs: $(PREFIX)/lib/@APP_NAME_LC@/lib@APP_NAME_LC@.so find $(DEPENDS_PATH)/share/kodi/addons -name "*.so" -exec cp -fp {} xbmc/obj/local/$(CPU)/ \; || true find $(DEPENDS_PATH)/lib/kodi/addons -name "*.so" -exec cp -fp {} xbmc/obj/local/$(CPU)/ \; || true find $(PREFIX)/lib/@APP_NAME_LC@/system -name "*.so" -exec cp -fp {} xbmc/obj/local/$(CPU)/ \; - DIR=${CURDIR}; cd $(PREFIX)/lib/python@PYTHON_VERSION@/site-packages; for i in `find Cryptodome -name \*.so` ; do FN=`echo $$i | cut -c1- | tr "/" "_" | sed -e 's/\.cpython-[0-9]\{2,3\}-.*\\./\./g'` ;cp $$i $$DIR/xbmc/obj/local/$(CPU)/$$FN ; done + DIR=${CURDIR}; cd $(PREFIX)/lib/python@PYTHON_VERSION@/site-packages; for i in `find Cryptodome -name \*.so` ; do FN=`echo $$i | cut -c1- | tr "/" "_" | sed -e 's/\.cpython-[0-9]\{2,3\}-.*\\./\./g' -e 's/\.abi[0-9]\\././'` ;cp $$i $$DIR/xbmc/obj/local/$(CPU)/$$FN ; done 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)/ $(STRIP) --strip-unneeded xbmc/lib/$(CPU)/*.so |