diff --git a/buildscripts/build_libexif.sh b/buildscripts/build_libexif.sh index 3f7fa24fe..e13c0efc8 100755 --- a/buildscripts/build_libexif.sh +++ b/buildscripts/build_libexif.sh @@ -10,11 +10,13 @@ readonly SCRIPT_DIR="$(dirname "$(realpath "$0")")" source "${SCRIPT_DIR}/build_utils.sh" -parse_arch --dep "libexif" --supported "win32 win64" "$@" +parse_arch --dep "libexif" --supported "win32 win64 macos" "$@" "${SCRIPT_DIR}/download/download_libexif.sh" -CFLAGS="-O2 -g0" ./configure "${HOST_OPTION}" \ +CFLAGS="-O2 -g0 ${CROSS_CFLAG}" \ +LDFLAGS="${CROSS_LDFLAG}" \ +./configure "${HOST_OPTION}" \ "--prefix=${DEP_PREFIX}" \ --enable-shared \ --disable-static \