From 9c72741e69800e877bb3a4c1f9fda340f28d3add Mon Sep 17 00:00:00 2001 From: Stanislas Daniel Claude Dolcini Date: Sat, 21 Sep 2024 13:19:25 +0200 Subject: [PATCH] Fix x86_64 cross-compilation on macOS --- libraries/build-macos-libs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/build-macos-libs.sh b/libraries/build-macos-libs.sh index d37ecd98e2..29907189e1 100755 --- a/libraries/build-macos-libs.sh +++ b/libraries/build-macos-libs.sh @@ -811,6 +811,7 @@ GNUTLS_DIR="$(pwd)/gnutls" HOGWEED_LIBS="-L${NETTLE_DIR}/lib -lhogweed" \ GMP_CFLAGS="-I${GMP_DIR}/include" \ GMP_LIBS="-L${GMP_DIR}/lib -lgmp" \ + "$HOST_PLATFORM" \ --prefix="$INSTALL_DIR" \ --enable-shared=no \ --without-idn \ @@ -818,8 +819,10 @@ GNUTLS_DIR="$(pwd)/gnutls" --with-included-libtasn1 \ --without-p11-kit \ --without-brotli \ + --without-zstd \ + --without-tpm2 \ + --disable-libdane \ --disable-tests \ - --disable-guile \ --disable-doc \ --disable-tools \ --disable-nls