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:
Dirk Hohndel 2020-10-31 16:09:26 -07:00
parent cc04f5d3f8
commit 43f15f1b48

View file

@ -394,6 +394,16 @@ if [[ $PLATFORM = Darwin && "$BUILD_DEPS" == "1" ]] ; then
make install
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
pushd libftdi1
mkdir -p build