diff --git a/src/tools/bootstrap/bootstrap.pri b/src/tools/bootstrap/bootstrap.pri index 7de9a2420a..f6f8eba82b 100644 --- a/src/tools/bootstrap/bootstrap.pri +++ b/src/tools/bootstrap/bootstrap.pri @@ -51,8 +51,7 @@ hpux-acc*|hpuxi-acc* { LIBS += -lbootstrap } !contains(QT_CONFIG, zlib):!contains(QT_CONFIG, no-zlib):!cross_compile { - else:if(unix|win32-g++*):LIBS_PRIVATE += -lz - else:LIBS += zdll.lib + include($$PWD/../../3rdparty/zlib_dependency.pri) } win32:LIBS += -luser32 -lole32