From 8d9bffff640379d9d15da2a5185c9c3b44264f5e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 6 Mar 2016 10:08:36 -0800 Subject: iOS build: fix libdivecomputer build This uses new configure options added to the Subsurface-branch of libdivecomputer. Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packaging/ios') diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index a890d3997..4636c4cec 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -307,15 +307,15 @@ if ! git checkout Subsurface-branch ; then echo "can't check out the Subsurface-branch branch of libdivecomputer -- giving up" exit 1 fi +if [ ! -f configure ] ; then + autoreconf --install +fi cd .. if [ ! -e $PKG_CONFIG_LIBDIR/libdivecomputer.pc ] ; then - if [ ! -f ../libvidecomputer/configure ] ; then - autoreconf --install ../libdivecomputer - fi mkdir -p libdivecomputer-build-$ARCH pushd libdivecomputer-build-$ARCH - ../libdivecomputer/configure --host=${BUILDCHAIN} --prefix=${PREFIX} --enable-static --disable-shared --enable-examples=no + ../libdivecomputer/configure --host=${BUILDCHAIN} --prefix=${PREFIX} --enable-static --disable-shared --enable-examples=no --disable-libusb --disable-hidapi make make install popd -- cgit v1.2.3-70-g09d2