qt4-tools-native.inc: Pulled -static configure argument into a variable (for overrida...
authorRobert Schuster <robertschuster@fsfe.org>
Tue, 22 Jun 2010 11:47:01 +0000 (13:47 +0200)
committerRobert Schuster <robertschuster@fsfe.org>
Thu, 24 Jun 2010 09:46:04 +0000 (11:46 +0200)
recipes/qt4/qt4-tools-native.inc

index b6e3107..ae70124 100644 (file)
@@ -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: