mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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"
|
echo "can't check out the Subsurface-branch branch of libdivecomputer -- giving up"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f configure ] ; then
|
||||||
|
autoreconf --install
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if [ ! -e $PKG_CONFIG_LIBDIR/libdivecomputer.pc ] ; then
|
if [ ! -e $PKG_CONFIG_LIBDIR/libdivecomputer.pc ] ; then
|
||||||
if [ ! -f ../libvidecomputer/configure ] ; then
|
|
||||||
autoreconf --install ../libdivecomputer
|
|
||||||
fi
|
|
||||||
mkdir -p libdivecomputer-build-$ARCH
|
mkdir -p libdivecomputer-build-$ARCH
|
||||||
pushd 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
|
||||||
make install
|
make install
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue