[oe-commits] Holger Hans Peter Freyther : qt-4.7.0: Use qmake feature to link with -rpath-link.
git version control
git at git.openembedded.org
Sun Sep 26 17:19:06 UTC 2010
Module: openembedded.git
Branch: holger/qt4-4.7
Commit: 39bc8dd56b618db9c09f57a775fc4250500c761f
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=39bc8dd56b618db9c09f57a775fc4250500c761f
Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date: Mon Sep 27 00:43:53 2010 +0800
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.
---
recipes/qt4/qt-4.7.0/g++.conf | 3 +++
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 266a69f..80f925c 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)
More information about the Openembedded-commits
mailing list