We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e245e0 commit 982650dCopy full SHA for 982650d
build_android.sh
@@ -85,8 +85,13 @@ for build_type in $APP/app/.externalNativeBuild/cmake/*; do
85
abi_string=$(basename ${build_type_and_abi})
86
87
FINAL_BINARY=$build_type_and_abi/built/bin/pdf2htmlEX
88
- upx --ultra-brute --8mib-ram $FINAL_BINARY
89
- upx -t $FINAL_BINARY
+
+ # UPX only works on armeabi-v7a
90
+ # Other ABIs produce segfaults.
91
+ if [ "$abi_string" == "armeabi-v7a" ]; then
92
+ upx --ultra-brute --8mib-ram $FINAL_BINARY
93
+ upx -t $FINAL_BINARY
94
+ fi
95
96
FINAL_TAR=$build_type_and_abi/${build_type_string}-${abi_string}-pdf2htmlEX.tar
97
if [ -f "${FINAL_TAR}" ]; then
0 commit comments