Blob Blame History Raw
diff -rupN qtbase-everywhere-src-5.11.2/configure.pri qtbase-everywhere-src-5.11.2-new/configure.pri
--- qtbase-everywhere-src-5.11.2/configure.pri	2018-09-21 19:30:58.065977208 +0200
+++ qtbase-everywhere-src-5.11.2-new/configure.pri	2018-09-21 19:30:58.067977207 +0200
@@ -315,6 +315,9 @@ defineTest(qtConfTest_detectPkgConfig) {
             qtLog("Found pkg-config from path: $$pkgConfig")
         }
     }
+    !isEmpty(pkgConfig):qtConfig(static) {
+        pkgConfig = "$$pkgConfig --static"
+    }
 
     $$qtConfEvaluate("features.cross_compile") {
         # cross compiling, check that pkg-config is set up sanely