CI: ARM64 Mac builds for CURL should also disable brotili

This commit is contained in:
Connor McLaughlin 2022-10-05 17:42:14 +10:00
parent 5f6490f68b
commit 4c3a5dd4d7

View file

@ -104,7 +104,7 @@ cd ..
# Build arm64, but don't install it, instead just add the arm64 binary into the existing x64 dylib. # Build arm64, but don't install it, instead just add the arm64 binary into the existing x64 dylib.
mkdir build-arm64 mkdir build-arm64
cd build-arm64 cd build-arm64
CFLAGS="-arch arm64" ../configure --host x86_64-apple-darwin --prefix "$INSTALLDIR" --with-secure-transport CFLAGS="-arch arm64" ../configure --host x86_64-apple-darwin --prefix "$INSTALLDIR" --with-secure-transport --without-brotli
make "-j$NPROCS" make "-j$NPROCS"
lipo -create "$INSTALLDIR/lib/libcurl.4.dylib" "lib/.libs/libcurl.4.dylib" -o "$INSTALLDIR/lib/libcurl.4.dylib" lipo -create "$INSTALLDIR/lib/libcurl.4.dylib" "lib/.libs/libcurl.4.dylib" -o "$INSTALLDIR/lib/libcurl.4.dylib"
cd ../.. cd ../..