aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qt4
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-27 00:43:53 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-28 18:54:23 +0800
commit249013a9b1eec3fb6ab9183eafd9aa46ab3819ca (patch)
treefa5012ce5a27e9d05aab6138c182927350c9c837 /recipes/qt4
parentcc2f6f81f93b0f87e378826f1fa7b3128d2bfe52 (diff)
downloadopenembedded-249013a9b1eec3fb6ab9183eafd9aa46ab3819ca.tar.gz
qt-4.7.0: Use qmake feature to link with -rpath-link.
This is instructing qmake to use the QMAKE_LFLAGS_RPATH for the lib directory in the build tree. It should be safe to use even for software using the resulting qmake.
Diffstat (limited to 'recipes/qt4')
-rw-r--r--recipes/qt4/qt-4.7.0/g++.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/qt4/qt-4.7.0/g++.conf b/recipes/qt4/qt-4.7.0/g++.conf
index 266a69f720..80f925cc5e 100644
--- a/recipes/qt4/qt-4.7.0/g++.conf
+++ b/recipes/qt4/qt-4.7.0/g++.conf
@@ -53,5 +53,8 @@ QMAKE_PCH_OUTPUT_EXT = .gch
QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
+# some linking helper...
+CONFIG += rpath_libdirs
+
# for the SDK
isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG)