aboutsummarylogtreecommitdiffstats
path: root/0023-Use-correct-pkg-config-static-flag.patch
diff options
context:
space:
mode:
authorMartchus2016-12-08 20:43:55 +0100
committerMartchus2016-12-08 20:43:55 +0100
commita94085d68ee1be47d696050fe68520b249ce648d (patch)
tree3f313dd74908ea03837110d4a03c0712c5c2779c /0023-Use-correct-pkg-config-static-flag.patch
parent6690722a818a0a950d51c315349a15c225675a23 (diff)
downloadaur-a94085d68ee1be47d696050fe68520b249ce648d.tar.gz
Fix misc issues
Diffstat (limited to '0023-Use-correct-pkg-config-static-flag.patch')
-rw-r--r--0023-Use-correct-pkg-config-static-flag.patch28
1 files changed, 28 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..4dd8e73e1b4b
--- /dev/null
+++ b/0023-Use-correct-pkg-config-static-flag.patch
@@ -0,0 +1,28 @@
+From aeec21b7d2c0185499531c55282d8738c19770f2 Mon Sep 17 00:00:00 2001
+From: Martchus <martchus@gmx.net>
+Date: Sun, 18 Sep 2016 18:50:21 +0200
+Subject: [PATCH 23/26] Use correct pkg-config --static flag
+
+---
+ configure | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/configure b/configure
+index b4c75c6..eea15f0 100755
+--- a/configure
++++ b/configure
+@@ -4153,6 +4153,11 @@ if [ -z "$PKG_CONFIG" ]; then
+ # See if PKG_CONFIG is set in the mkspec:
+ PKG_CONFIG="`"$CFG_QMAKE_PATH" -qtconf "$QTCONFFILE" -E -nocache -spec "$XQMAKESPEC" "CONFIG=" $DEV_NULL 2>&1 | sed -n -e 's,^PKG_CONFIG = \(.*\),\1,p'`"
+ [ -n "$PKG_CONFIG" ] && [ "$OPT_VERBOSE" = "yes" ] && echo "Found pkg-config from mkspec: $PKG_CONFIG"
++
++ if [ "$CFG_SHARED" = "no" ] ; then
++ PKG_CONFIG="$PKG_CONFIG --static"
++ [ "$OPT_VERBOSE" = "yes" ] && echo "Using '$PKG_CONFIG' because we're doing a static build"
++ fi
+ fi
+ if [ -z "$PKG_CONFIG" ]; then
+ PKG_CONFIG=`"$WHICH" pkg-config 2>/dev/null`
+--
+2.10.2
+