CI: Use OS zlib for MacOS
Because the updater doesn't get fixup'd, so the dylib doesn't get added to its bundle.
This commit is contained in:
parent
3e8dd2c374
commit
98d2d866d6
|
@ -11,7 +11,7 @@ if(NOT WIN32 AND NOT ANDROID)
|
|||
|
||||
find_package(Zstd 1.5.5 REQUIRED)
|
||||
find_package(WebP REQUIRED) # v1.3.2, spews an error on Linux because no pkg-config.
|
||||
find_package(ZLIB 1.3 REQUIRED)
|
||||
find_package(ZLIB REQUIRED) # 1.3, but Mac currently doesn't use it.
|
||||
find_package(PNG 1.6.40 REQUIRED)
|
||||
find_package(JPEG REQUIRED) # No version because flatpak uses libjpeg-turbo.
|
||||
find_package(CURL REQUIRED)
|
||||
|
|
|
@ -99,14 +99,15 @@ make -C build "-j$NPROCS"
|
|||
make -C build install
|
||||
cd ..
|
||||
|
||||
echo "Installing Zlib..."
|
||||
rm -fr "zlib-$ZLIB"
|
||||
tar xf "zlib-$ZLIB.tar.gz"
|
||||
cd "zlib-$ZLIB"
|
||||
cmake -B build "${CMAKE_COMMON[@]}" "$CMAKE_ARCH_UNIVERSAL" -DBUILD_SHARED_LIBS=ON -DZLIB_BUILD_EXAMPLES=OFF
|
||||
make -C build "-j$NPROCS"
|
||||
make -C build install
|
||||
cd ..
|
||||
# Temporarily disabled, because the updater doesn't get fixup'd, so the dylib doesn't get added to its bundle.
|
||||
#echo "Installing Zlib..."
|
||||
#rm -fr "zlib-$ZLIB"
|
||||
#tar xf "zlib-$ZLIB.tar.gz"
|
||||
#cd "zlib-$ZLIB"
|
||||
#cmake -B build "${CMAKE_COMMON[@]}" "$CMAKE_ARCH_UNIVERSAL" -DBUILD_SHARED_LIBS=ON -DZLIB_BUILD_EXAMPLES=OFF
|
||||
#make -C build "-j$NPROCS"
|
||||
#make -C build install
|
||||
#cd ..
|
||||
|
||||
echo "Installing Zstd..."
|
||||
rm -fr "zstd-$ZSTD"
|
||||
|
|
Loading…
Reference in New Issue