summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-09-22 10:30:17 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-22 19:02:01 +0200
commit3e78f84f4e59f417e2837b6eeeaff0b14f85309e (patch)
tree1ada0da26ae7726d713c4fbed487831e151c601a
parentb72aa1cad30a44b1c680711c9b6e66f1d726bb5f (diff)
configure: remove CONFIG features while getting PKG_CONFIG
When qmake is used to get PKG_CONFIG, core and gui are not available. This motivates CONFIG-=qt. In fact, we don't need any features for this job. Change-Id: Id247054d43c50f6aeb62db7585c3e90f57aa36a1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 97110b970e..4bec556473 100755
--- a/configure
+++ b/configure
@@ -3697,7 +3697,7 @@ fi
#-------------------------------------------------------------------------------
if [ -z "$PKG_CONFIG" ]; then
# See if PKG_CONFIG is set in the mkspec:
- PKG_CONFIG="`"$outpath/bin/qmake" -E -nocache -spec "$XQMAKESPEC" /dev/null 2>&1 | sed -n -e 's,^PKG_CONFIG = \(.*\),\1,p'`"
+ PKG_CONFIG="`"$outpath/bin/qmake" -E -nocache -spec "$XQMAKESPEC" "CONFIG=" /dev/null 2>&1 | sed -n -e 's,^PKG_CONFIG = \(.*\),\1,p'`"
fi
if [ -z "$PKG_CONFIG" ]; then
PKG_CONFIG=`"$WHICH" pkg-config 2>/dev/null`