mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Android build: openssl, do not move source tree
Very annoyingly, openssl is re-build and downloaded numerous times when doing partial builds. Reason for this, is that the original checked out git repo is moved away, and build in source (as openssl does ...). So, this simple change leaves the checked out repo in place, and copies the tree to build in. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
1429629567
commit
13f108c9dd
1 changed files with 2 additions and 3 deletions
|
@ -254,10 +254,9 @@ if [ "$QUICK" = "" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"${SUBSURFACE_SOURCE}"/scripts/get-dep-lib.sh singleAndroid . openssl
|
"${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
|
if [ ! -e "$PKG_CONFIG_LIBDIR/libssl.pc" ] ; then
|
||||||
|
mkdir -p openssl-build-"$ARCH"
|
||||||
|
cp -r openssl/* openssl-build-"$ARCH"
|
||||||
pushd 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
|
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.
|
# Use env to make all these temporary, so they don't pollute later builds.
|
||||||
|
|
Loading…
Add table
Reference in a new issue