mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
build-system: build libmtp for macOS if requested
If we are building our own dependencies (usually only for release builds), we now also need to build libmtp. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cc04f5d3f8
commit
43f15f1b48
1 changed files with 10 additions and 0 deletions
|
@ -394,6 +394,16 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
|
||||||
make install
|
make install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
./${SRC_DIR}/scripts/get-dep-lib.sh single . libmtp
|
||||||
|
pushd libmtp
|
||||||
|
echo 'N' | NOCONFIGURE="1" bash ./autogen.sh
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
CFLAGS="$OLDER_MAC" ../configure --prefix="$INSTALL_ROOT"
|
||||||
|
make -j4
|
||||||
|
make install
|
||||||
|
popd
|
||||||
|
|
||||||
./${SRC_DIR}/scripts/get-dep-lib.sh single . libftdi1
|
./${SRC_DIR}/scripts/get-dep-lib.sh single . libftdi1
|
||||||
pushd libftdi1
|
pushd libftdi1
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
|
Loading…
Add table
Reference in a new issue