Beta version 2.5.4: Fix build on macOS.

This commit is contained in:
John Preston 2021-01-07 22:02:22 +04:00
parent 348dfefbaa
commit 0b85d0f185
2 changed files with 2 additions and 11 deletions

@ -1 +1 @@
Subproject commit 4dd8c26bd1748a677df34785e62e031785e93e23
Subproject commit c41c510b29842d16973c5a440454e22a012c39ae

View File

@ -68,17 +68,8 @@ Go to ***BuildPath*** and run
cd build
CFLAGS="$UNGUARDED" CPPFLAGS="$UNGUARDED" cmake -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.12 -D CMAKE_INSTALL_PREFIX:STRING=/usr/local/macos ..
make $MAKE_THREADS_CNT
cd ../..
xz_ver=5.2.4
wget https://tukaani.org/xz/xz-$xz_ver.tar.gz
tar -xvzf xz-$xz_ver.tar.gz
rm xz-$xz_ver.tar.gz
cd xz-$xz_ver
CFLAGS="$MIN_VER" LDFLAGS="$MIN_VER" ./configure --prefix=/usr/local/macos
make $MAKE_THREADS_CNT
sudo make install
cd ..
cd ../..
git clone https://github.com/desktop-app/zlib.git
cd zlib