Simplified code

This commit is contained in:
Andrew Murray 2025-04-02 12:37:35 +11:00
parent 7c56b383ff
commit 17f57c1178

View File

@ -80,11 +80,7 @@ function build_pkg_config {
function build_zlib_ng { function build_zlib_ng {
if [ -e zlib-stamp ]; then return; fi if [ -e zlib-stamp ]; then return; fi
fetch_unpack https://github.com/zlib-ng/zlib-ng/archive/$ZLIB_NG_VERSION.tar.gz zlib-ng-$ZLIB_NG_VERSION.tar.gz build_github zlib-ng/zlib-ng $ZLIB_NG_VERSION --zlib-compat
(cd zlib-ng-$ZLIB_NG_VERSION \
&& ./configure --prefix=$BUILD_PREFIX --zlib-compat \
&& make -j4 \
&& make install)
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then
# Ensure that on macOS, the library name is an absolute path, not an # Ensure that on macOS, the library name is an absolute path, not an