Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
properly link to zlib for static windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkulz committed May 24, 2018
1 parent 6198829 commit e75f385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/3rdparty/zlib_dependency.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
contains(QT_CONFIG, system-zlib) {
symbian: LIBS_PRIVATE += -llibz
else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
else:CONFIG(static, shared|static): LIBS += zlib.lib
else: LIBS += zdll.lib
} else {
INCLUDEPATH += $$PWD/zlib
Expand Down
1 change: 1 addition & 0 deletions src/tools/bootstrap/bootstrap.pri
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ hpux-acc*|hpuxi-acc* {
!contains(QT_CONFIG, zlib):!contains(QT_CONFIG, no-zlib):!cross_compile {
symbian:LIBS_PRIVATE += -llibz
else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
else:CONFIG(static, shared|static):LIBS += zlib.lib
else:LIBS += zdll.lib
}
win32:LIBS += -luser32
Expand Down

0 comments on commit e75f385

Please sign in to comment.