2020-05-29 17:30:23 +02:00
|
|
|
From 0da96acd50b724b4b46868f4938c37ea96239a1a Mon Sep 17 00:00:00 2001
|
2016-09-19 22:18:45 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 18:50:21 +0200
|
2020-04-15 11:18:19 +02:00
|
|
|
Subject: [PATCH 23/31] Use correct pkg-config --static flag
|
2016-09-19 22:18:45 +02:00
|
|
|
|
|
|
|
---
|
2017-01-23 21:37:13 +01:00
|
|
|
configure.pri | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
2016-09-19 22:18:45 +02:00
|
|
|
|
2017-01-23 21:37:13 +01:00
|
|
|
diff --git a/configure.pri b/configure.pri
|
2020-05-29 17:30:23 +02:00
|
|
|
index 8b968ba297..f3ebfbc949 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/configure.pri
|
|
|
|
+++ b/configure.pri
|
2020-05-29 17:30:23 +02:00
|
|
|
@@ -349,6 +349,9 @@ defineTest(qtConfTest_detectPkgConfig) {
|
2017-01-23 21:37:13 +01:00
|
|
|
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
|
2016-09-19 22:18:45 +02:00
|
|
|
--
|
2020-05-29 17:30:23 +02:00
|
|
|
2.26.2
|
2016-09-19 22:18:45 +02:00
|
|
|
|