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

Commit

Permalink
remove dependency on libwinpthread-1.dll for the newer MinGW-w64 builds
Browse files Browse the repository at this point in the history
Newer versions of MinGW-w64 introduce a dependency on it for threads
support, which is removed by passing the -static flag to the linker
and fixes #1723
  • Loading branch information
ashkulz committed May 19, 2014
1 parent 3c0caee commit 64e3f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ INCLUDEPATH += ../../include
RESOURCES = $$PWD/wkhtmltopdf.qrc

win32: CONFIG += console
win32-g++*: QMAKE_LFLAGS += -static-libgcc -static-libstdc++
win32-g++*: QMAKE_LFLAGS += -static -static-libgcc -static-libstdc++

QT += webkit network xmlpatterns svg
greaterThan(QT_MAJOR_VERSION, 4): QT += webkitwidgets
Expand Down

0 comments on commit 64e3f87

Please sign in to comment.