mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Android: fix error in build script
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b9e57dbeab
commit
ddd5ec7f56
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ git submodule update --recursive
|
||||||
popd
|
popd
|
||||||
CURRENT_SHA=$(cd subsurface/libdivecomputer ; git describe)
|
CURRENT_SHA=$(cd subsurface/libdivecomputer ; git describe)
|
||||||
PREVIOUS_SHA=$(cat libdivecomputer-${ARCH}.SHA)
|
PREVIOUS_SHA=$(cat libdivecomputer-${ARCH}.SHA)
|
||||||
if [ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" || ! -e "$PKG_CONFIG_LIBDIR/libdivecomputer.pc" ] ; then
|
if [[ ! "$CURRENT_SHA" = "$PREVIOUS_SHA" || ! -e "$PKG_CONFIG_LIBDIR/libdivecomputer.pc" ]] ; then
|
||||||
mkdir -p libdivecomputer-build-"$ARCH"
|
mkdir -p libdivecomputer-build-"$ARCH"
|
||||||
pushd libdivecomputer-build-"$ARCH"
|
pushd libdivecomputer-build-"$ARCH"
|
||||||
"$SUBSURFACE_SOURCE"/libdivecomputer/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no
|
"$SUBSURFACE_SOURCE"/libdivecomputer/configure --host=${BUILDCHAIN} --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no
|
||||||
|
|
Loading…
Reference in a new issue