mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-13 18:04:49 +00:00
static linking for liblzma in os x + xcode.md fixed
This commit is contained in:
parent
8e3ba09047
commit
fb05cf6cb3
@ -1601,7 +1601,7 @@
|
||||
"-L/usr/local/Qt-5.3.1/plugins/imageformats",
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-llzma",
|
||||
/usr/local/lib/liblzma.a,
|
||||
);
|
||||
PRODUCT_NAME = Telegram;
|
||||
QT_LIBRARY_SUFFIX = "";
|
||||
@ -1725,7 +1725,7 @@
|
||||
"-L/usr/local/Qt-5.3.1/plugins/imageformats",
|
||||
"-lz",
|
||||
"-lm",
|
||||
"-llzma",
|
||||
/usr/local/lib/liblzma.a,
|
||||
);
|
||||
PRODUCT_NAME = Telegram;
|
||||
QT_LIBRARY_SUFFIX = _debug;
|
||||
|
11
XCODE.md
11
XCODE.md
@ -33,14 +33,13 @@ Extract openssl-1.0.1h.tar.gz and copy everything from **openssl-1.0.1h** to **/
|
||||
|
||||
####liblzma
|
||||
|
||||
http://tukaani.org/xz/ > Download [**xz-5.0.5.tar.gz](http://tukaani.org/xz/xz-5.0.5.tar.gz)
|
||||
http://tukaani.org/xz/ > Download [**xz-5.0.5.tar.gz**](http://tukaani.org/xz/xz-5.0.5.tar.gz)
|
||||
|
||||
Extract to **/Users/user/TBuild/Libraries**
|
||||
|
||||
#####Building library
|
||||
|
||||
* in Terminal go to **/Users/user/TBuild/Libraries/xz-5.0.5**
|
||||
* there run
|
||||
In Terminal go to **/Users/user/TBuild/Libraries/xz-5.0.5** and there run
|
||||
|
||||
./configure
|
||||
make
|
||||
@ -60,8 +59,7 @@ or download in ZIP and extract to **/Users/user/TBuild/Libraries**, rename **lib
|
||||
|
||||
#####Building library
|
||||
|
||||
* in Terminal go to **/Users/user/TBuild/Libraries/libexif-0.6.20**
|
||||
* there run
|
||||
In Terminal go to **/Users/user/TBuild/Libraries/libexif-0.6.20** and there run
|
||||
|
||||
./configure
|
||||
make
|
||||
@ -77,8 +75,7 @@ Apply patch – copy (with overwrite!) everything from **/Users/user/TBuild/tdes
|
||||
|
||||
#####Building library
|
||||
|
||||
* in Terminal go to **/Users/user/TBuild/Libraries/QtStatic**
|
||||
* there run
|
||||
In Terminal go to **/Users/user/TBuild/Libraries/QtStatic** and there run
|
||||
|
||||
./configure -debug-and-release -opensource -static -opengl desktop -nomake examples -platform macx-clang
|
||||
y
|
||||
|
Loading…
Reference in New Issue
Block a user