summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/ssl/ssl.pri6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/ssl/ssl.pri b/src/network/ssl/ssl.pri
index 72ea80f..899aa30 100644
--- a/src/network/ssl/ssl.pri
+++ b/src/network/ssl/ssl.pri
@@ -35,5 +35,11 @@ symbian {
RESOURCES += network.qrc
# Add optional SSL libs
+ !contains(QT_CONFIG, system-zlib):contains(OPENSSL_LIBS, -lz) {
+ # Use the zlib in QtCore
+ OPENSSL_LIBS -= -lz
+ OPENSSL_LIBS += -lQtCore4
+ }
LIBS_PRIVATE += $$OPENSSL_LIBS
+
}