diff options
-rwxr-xr-x | packaging/android/build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 9a2d27ad1..cd869941e 100755 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -254,10 +254,9 @@ if [ "$QUICK" = "" ] ; then fi "${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . openssl - if [ ! -e openssl-build-"$ARCH" ] ; then - mv openssl openssl-build-"$ARCH" - fi if [ ! -e "$PKG_CONFIG_LIBDIR/libssl.pc" ] ; then + mkdir -p openssl-build-"$ARCH" + cp -r openssl/* openssl-build-"$ARCH" pushd openssl-build-"$ARCH" perl -pi -e 's/install: all install_docs install_sw/install: install_docs install_sw/g' Makefile.org # Use env to make all these temporary, so they don't pollute later builds. |