When running configure more than once the do_install stage
will fail due excessive symlinks... Stop doing that.
do_configure() {
unset QMAKESPEC
unset QTDIR
- ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
- ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++
+
+ if [! -e bin/qmake]; then
+ ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
+ fi
+
+ if [! -e mkspecs/${TARGET_OS}-oe-g++]; then
+ ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++
+ fi
+
cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf mkspecs/common/
echo "[Paths]" > $QT_CONF_PATH