summaryrefslogtreecommitdiff
path: root/src/3rdparty/zlib_dependency.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/zlib_dependency.pri')
-rw-r--r--src/3rdparty/zlib_dependency.pri5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/3rdparty/zlib_dependency.pri b/src/3rdparty/zlib_dependency.pri
index 4194fe2..5cccf37 100644
--- a/src/3rdparty/zlib_dependency.pri
+++ b/src/3rdparty/zlib_dependency.pri
@@ -1,7 +1,10 @@
# zlib dependency satisfied by bundled 3rd party zlib or system zlib
contains(QT_CONFIG, system-zlib) {
unix|mingw: LIBS_PRIVATE += -lz
- else: LIBS += zdll.lib
+ else {
+ isEmpty(ZLIB_LIBS): LIBS += zdll.lib
+ else: LIBS += $$ZLIB_LIBS
+ }
} else {
QT_PRIVATE += zlib-private
}