diff options
Diffstat (limited to '0023-Use-correct-pkg-config-static-flag.patch')
-rw-r--r-- | 0023-Use-correct-pkg-config-static-flag.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0023-Use-correct-pkg-config-static-flag.patch b/0023-Use-correct-pkg-config-static-flag.patch new file mode 100644 index 000000000000..39a8e626d249 --- /dev/null +++ b/0023-Use-correct-pkg-config-static-flag.patch @@ -0,0 +1,26 @@ +From 4d24aaff9e4e144e320a964c2c21060b41c3039f Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sun, 18 Sep 2016 18:50:21 +0200 +Subject: [PATCH 23/32] Use correct pkg-config --static flag + +--- + configure.pri | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.pri b/configure.pri +index 85acb3757aa..0a4db10dfca 100644 +--- a/configure.pri ++++ b/configure.pri +@@ -360,6 +360,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 +-- +2.44.0 + |