diff options
author | Martchus | 2016-08-19 22:02:13 +0200 |
---|---|---|
committer | Martchus | 2016-08-19 22:02:13 +0200 |
commit | 2a4874a0fa6b02ce1827761c1892d8ddd1b1b8e2 (patch) | |
tree | ad72be100bf5a405d61abb3d3a711a88742ab9fa /qt5-use-correct-pkg-config-static-flags.patch | |
download | aur-2a4874a0fa6b02ce1827761c1892d8ddd1b1b8e2.tar.gz |
Fix static version
Diffstat (limited to 'qt5-use-correct-pkg-config-static-flags.patch')
-rw-r--r-- | qt5-use-correct-pkg-config-static-flags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/qt5-use-correct-pkg-config-static-flags.patch b/qt5-use-correct-pkg-config-static-flags.patch new file mode 100644 index 000000000000..67b6a8e8dc3e --- /dev/null +++ b/qt5-use-correct-pkg-config-static-flags.patch @@ -0,0 +1,14 @@ +--- qtbase-opensource-src-5.4.1/configure.orig 2015-02-17 05:56:22.000000000 +0100 ++++ qtbase-opensource-src-5.4.1/configure 2015-03-21 17:08:54.138635641 +0100 +@@ -3884,6 +3884,11 @@ + # See if PKG_CONFIG is set in the mkspec: + PKG_CONFIG="`"$outpath/bin/qmake" -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` |