2018-06-20 16:57:14 +02:00
|
|
|
From 2c846ab2a45c159905715e98338246f86e98e5a8 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
|
2018-05-23 20:56:49 +02:00
|
|
|
Subject: [PATCH 25/33] 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
|
2018-05-23 20:56:49 +02:00
|
|
|
index c3ce522e4f..59a9b1e88a 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/configure.pri
|
|
|
|
+++ b/configure.pri
|
2017-06-02 18:20:04 +02:00
|
|
|
@@ -311,6 +311,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
|
|
|
--
|
2018-06-20 16:57:14 +02:00
|
|
|
2.18.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|