From c0adf95cafc8aac2a6bcd80a09d6a1872076601d Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Tue, 22 Jun 2010 13:47:01 +0200 Subject: [PATCH] qt4-tools-native.inc: Pulled -static configure argument into a variable (for overridability). --- recipes/qt4/qt4-tools-native.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.39.5