From 43f15f1b481dc2dd90e56f87f63a3d01d91bccba Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 31 Oct 2020 16:09:26 -0700 Subject: 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 --- scripts/build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts/build.sh') diff --git a/scripts/build.sh b/scripts/build.sh index 4c2fd8acb..fef234ac5 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 -- cgit v1.2.3-70-g09d2