aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-07-11 23:30:38 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-07-11 23:39:28 +0200
commitdb52e94cc14b3a4c53ca5ec4c3817e4fc12f5985 (patch)
tree3980129b388359d4591fa3300cc4c01ebd644dde
parentf5444efce18c3dcf91e8e97dcf7c21d35d2b9337 (diff)
downloadopenembedded-db52e94cc14b3a4c53ca5ec4c3817e4fc12f5985.tar.gz
qt4.inc: Work with DISTRO=micro where local_prefix is ""
The Qt buildsystem does not like when the -prefix is omitted (""). Append a "/" to the ${prefix} to always have at least one charachter. This was build tested with the micro and minimal distribution.
-rw-r--r--recipes/qt4/qt4.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/qt4/qt4.inc b/recipes/qt4/qt4.inc
index 427bbaecb4..42e2726e5a 100644
--- a/recipes/qt4/qt4.inc
+++ b/recipes/qt4/qt4.inc
@@ -110,7 +110,7 @@ do_configure() {
cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf mkspecs/common/
echo "[Paths]" > $QT_CONF_PATH
- echo "Prefix=${prefix}" >> $QT_CONF_PATH
+ echo "Prefix=${prefix}/" >> $QT_CONF_PATH
echo "Documentation=${docdir}/${QT_DIR_NAME}" >> $QT_CONF_PATH
echo "Headers=${includedir}/${QT_DIR_NAME}" >> $QT_CONF_PATH
echo "Libraries=${libdir}" >> $QT_CONF_PATH
@@ -125,7 +125,7 @@ do_configure() {
${EXTRA_QMAKE_MUNGE}|| true
(echo o; echo yes) | ./configure -v \
- -prefix ${prefix} \
+ -prefix ${prefix}/ \
-bindir ${bindir} \
-libdir ${libdir} \
-datadir ${datadir}/${QT_DIR_NAME} \