mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-29 01:52:48 +00:00
Beta version 2.5.4: Fix build on macOS.
This commit is contained in:
parent
348dfefbaa
commit
0b85d0f185
@ -1 +1 @@
|
||||
Subproject commit 4dd8c26bd1748a677df34785e62e031785e93e23
|
||||
Subproject commit c41c510b29842d16973c5a440454e22a012c39ae
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user