From 51c7a076a5daccc3e51ae0d6cf3570713a665c4b Mon Sep 17 00:00:00 2001 From: n8fr8 Date: Wed, 9 May 2018 12:53:26 -0400 Subject: [PATCH] update makefile to copy into proper native lib location --- external/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/external/Makefile b/external/Makefile index 5eaea36f..78e5e193 100644 --- a/external/Makefile +++ b/external/Makefile @@ -280,18 +280,16 @@ tor-clean: git reset HEAD --hard #------------------------------------------------------------------------------# -#create and clean assets: FYI - tor is stored as a ZIP file with an mp3 extension -#in order to stop Android OS (older devices) from trying to compress/decompress it -#this is related to a bug in compression of assets and resources > 1MB +#create and clean assets: FYI - tor is stored as a ZIP file with an so extension +#in the libs directly, so it is handled like a shared library for local installation assets: tor - install -d ../tor-android-binary/src/main/assets/$(APP_ABI) + install -d ../tor-android-binary/src/main/libs/$(APP_ABI) -$(STRIP) bin/tor - -zip ../tor-android-binary/src/main/assets/$(APP_ABI)/tor.mp3 bin/tor + -zip ../tor-android-binary/src/main/libs/$(APP_ABI)/tor.so bin/tor assets-clean: - -rm ../tor-android-binary/src/main/assets/$(APP_ABI)/tor.mp3 - + -rm ../tor-android-binary/src/main/libs/$(APP_ABI)/tor.so #------------------------------------------------------------------------------# # cleanup, cleanup, put the toys away