From 6049f67eb4196475096074c1ff7e05fb417eae3b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 9 May 2012 19:14:58 -0700 Subject: Fix compilation on Linux: link to zlib in the bootstrapped tools. That "else:" with no first condition is probably throwing qmake off. The condition was removed in ad2930f82536c9f5d38b644c5a070ce1248f6ee2. Change-Id: I6af36e3f673a65a6152fb467162c25afc13b4196 Reviewed-by: Mark Brand --- src/tools/bootstrap/bootstrap.pri | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- cgit v1.2.3