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