Explorar o código

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 %!s(int64=11) %!d(string=hai) anos
pai
achega
64e3f87ea0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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