Fixing webp compilation on macos

pull/63/head
Javernaut 2 years ago
parent 89631fa511
commit 0738f74153
  1. 10
      scripts/libwebp/build.sh

@ -2,10 +2,14 @@
./configure \ ./configure \
--prefix=${INSTALL_DIR} \ --prefix=${INSTALL_DIR} \
--host=${TARGET_TRIPLE_MACHINE_ARCH}-linux-android \ --host=${TARGET} \
--with-sysroot=${SYSROOT_PATH} \ --with-sysroot=${SYSROOT_PATH} \
--target=${TARGET} \ --disable-shared \
CC=${FAM_CC} || exit 1 --enable-static \
--with-pic \
CC=${FAM_CC} \
AR=${FAM_AR} \
RANLIB=${FAM_RANLIB} || exit 1
${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC} ${MAKE_EXECUTABLE} -j${HOST_NPROC}

Loading…
Cancel
Save