Browse Source

remove dependency on libwinpthread-1.dll for the newer MinGW-w64 builds

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
Ashish Kulkarni 11 years ago
parent
commit
64e3f87ea0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common.pri

+ 1 - 1
common.pri

@@ -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