From 8abb798beaf825c77b7eac65884f47d3920158bb Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 23 Aug 2010 16:44:24 +0200 Subject: [PATCH] qt4: fixed build by helping the linker to find the libraries --- qt/qt4/qt4.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qt/qt4/qt4.conf b/qt/qt4/qt4.conf index 0914bbb2c..4b2f329ce 100644 --- a/qt/qt4/qt4.conf +++ b/qt/qt4/qt4.conf @@ -23,6 +23,12 @@ if [ "$prefix" = "usr" ]; then fi pkg_qt4_preconf() { + # helping the linker to find libraries + QTDIR=$PWD + var_insert LD_LIBRARY_PATH ':' "$QTDIR/lib" + var_insert PATH ':' "$QTDIR/bin" + export QTDIR LD_LIBRARY_PATH PATH + # Somehow config options get removed if using the standard config # handling. So we use a custom one here. ./configure $confopt