mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
iOS build: fix libdivecomputer build
This uses new configure options added to the Subsurface-branch of libdivecomputer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c27a2b47f4
commit
8d9bffff64
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue