From 0738f741537288415f3f6f06633e03b6b84e95fe Mon Sep 17 00:00:00 2001 From: Javernaut Date: Sun, 19 Jun 2022 14:26:58 +0300 Subject: [PATCH] Fixing webp compilation on macos --- scripts/libwebp/build.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/libwebp/build.sh b/scripts/libwebp/build.sh index d2eace7..1d49799 100644 --- a/scripts/libwebp/build.sh +++ b/scripts/libwebp/build.sh @@ -2,10 +2,14 @@ ./configure \ --prefix=${INSTALL_DIR} \ - --host=${TARGET_TRIPLE_MACHINE_ARCH}-linux-android \ + --host=${TARGET} \ --with-sysroot=${SYSROOT_PATH} \ - --target=${TARGET} \ - CC=${FAM_CC} || exit 1 + --disable-shared \ + --enable-static \ + --with-pic \ + CC=${FAM_CC} \ + AR=${FAM_AR} \ + RANLIB=${FAM_RANLIB} || exit 1 ${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} -j${HOST_NPROC}