mirror of
https://github.com/qbittorrent/qBittorrent
synced 2024-11-12 10:30:24 +01:00
Use <OS_name>conf.pri file to control libz linkage
This commit is contained in:
parent
c36b2774ed
commit
314fc003b3
@ -19,6 +19,8 @@ LIBS += -lboost_system-mt
|
||||
#LIBS += -lboost_filesystem-mt
|
||||
# Carbon
|
||||
LIBS += -framework Carbon -framework IOKit
|
||||
# Zlib
|
||||
LIBS += -lz
|
||||
|
||||
document_icon.path = Contents/Resources
|
||||
document_icon.files = mac/qBitTorrentDocument.icns
|
||||
|
@ -7,7 +7,7 @@ LIBS += -ltorrent-rasterbar \
|
||||
-lboost_thread \
|
||||
-lboost_system \
|
||||
-lboost_filesystem \
|
||||
-lssl -lcrypto -lidn -lpthread
|
||||
-lssl -lcrypto -lidn -lpthread -lz
|
||||
|
||||
RC_FILE = qbittorrent_os2.rc
|
||||
|
||||
|
@ -60,9 +60,6 @@ DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
|
||||
# filesystem v3 is the default.
|
||||
DEFINES += BOOST_FILESYSTEM_VERSION=2
|
||||
|
||||
# We need lz to gunzip HTTP responses.
|
||||
LIBS += -lz
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@ QMAKE_CXXFLAGS += -Wformat -Wformat-security
|
||||
QMAKE_LFLAGS_APP += -rdynamic
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += libtorrent-rasterbar
|
||||
LIBS += -lssl -lcrypto
|
||||
LIBS += -lssl -lcrypto -lz
|
||||
|
||||
# Man page
|
||||
nox {
|
||||
|
@ -28,3 +28,4 @@ CONFIG(debug, debug|release) {
|
||||
LIBS += advapi32.lib shell32.lib crypt32.lib
|
||||
LIBS += libeay32.lib ssleay32.lib
|
||||
LIBS += PowrProf.lib
|
||||
LIBS += zlib.lib
|
||||
|
@ -4,11 +4,15 @@
|
||||
INCLUDEPATH += $$quote(C:/qBittorrent/boost_1_51_0)
|
||||
#Point this to the libtorrent include folder
|
||||
INCLUDEPATH += $$quote(C:/qBittorrent/RC_0_16/include)
|
||||
#Point this to the zlib include folder
|
||||
INCLUDEPATH += $$quote(C:/qBittorrent/Zlib/include)
|
||||
|
||||
#Point this to the boost lib folder
|
||||
LIBS += $$quote(-LC:/qBittorrent/boost_1_51_0/stage/lib)
|
||||
#Point this to the libtorrent lib folder
|
||||
LIBS += $$quote(-LC:/qBittorrent/RC_0_16/bin/<path-according-to-the-build-options-chosen>)
|
||||
#Point this to the zlib lib folder
|
||||
LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
|
||||
|
||||
# LIBTORRENT DEFINES
|
||||
DEFINES += BOOST_ALL_NO_LIB
|
||||
|
Loading…
Reference in New Issue
Block a user