summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <robertschuster@fsfe.org>2010-06-22 13:47:01 +0200
committerRobert Schuster <robertschuster@fsfe.org>2010-06-24 11:46:04 +0200
commitc0adf95cafc8aac2a6bcd80a09d6a1872076601d (patch)
tree0d1d6e6d2da6b59e638308633c1b5de9fed22e38
parent64e7aaced537cc22311bba72542cb1c128cd4536 (diff)
qt4-tools-native.inc: Pulled -static configure argument into a variable (for overridability).
-rw-r--r--recipes/qt4/qt4-tools-native.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/qt4/qt4-tools-native.inc b/recipes/qt4/qt4-tools-native.inc
index b6e3107cf0..ae701248a9 100644
--- a/recipes/qt4/qt4-tools-native.inc
+++ b/recipes/qt4/qt4-tools-native.inc
@@ -15,6 +15,9 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.
file://linux.conf"
S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
+# Suitable for qt4 tools which should not interfere with the system's qt libraries.
+LINKSTYLE = "-static"
+
EXTRA_OECONF = "-prefix ${prefix} \
-L ${STAGING_LIBDIR_NATIVE} \
-I ${STAGING_INCDIR_NATIVE} \
@@ -25,7 +28,7 @@ EXTRA_OECONF = "-prefix ${prefix} \
-no-exceptions \
-no-nas-sound \
-no-nis \
- -verbose -release -static \
+ -verbose -release ${LINKSTYLE} \
-qt3support"
# yank default -e, otherwise we get the following error: