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}