Qt: zlib is already used by Qt. Only compile it for exotic Qt builds where 'no-zlib' is configured. We will need to link it manually if 'system-zlib' is configured. Otherwise we already have it.

This commit is contained in:
Sacha committed 2013-11-21 22:36:02 +10:00
1 parent 61cf802836
commit c256c15cdd
2 files changed
+4 -4

No files matched your search

+1 -2
View File
@@ -52,12 +52,11 @@ HEADERS += ../ext/snappy/*.h
INCLUDEPATH += ../ext/snappy
# Zlib
!symbian: {
win32|contains(QT_CONFIG, no-zlib) {
SOURCES += ../ext/zlib/*.c
HEADERS += ../ext/zlib/*.h
}
# Native
SOURCES += ../native/audio/*.cpp \
+3 -2
View File
@@ -56,8 +56,9 @@ linux {
}
qnx: LIBS += -lscreen
symbian: LIBS += -lRemConCoreApi -lRemConInterfaceBase
# Avoids problems with some compilers
unix:!symbian: LIBS += -lz
contains(QT_CONFIG, system-zlib) {
unix: LIBS += -lz
}
# Main
SOURCES += ../native/base/QtMain.cpp