diff options
Diffstat (limited to 'meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff')
-rw-r--r-- | meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff b/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff new file mode 100644 index 000000000..290f54052 --- /dev/null +++ b/meta-oe/recipes-qt/qt4/qmake2/qmake-hack.diff | |||
@@ -0,0 +1,15 @@ | |||
1 | --- /tmp/configure 2010-02-10 15:41:58.000000000 +0100 | ||
2 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2010-02-10 15:42:01.000000000 +0100 | ||
3 | @@ -3946,6 +3946,12 @@ | ||
4 | [ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake | ||
5 | [ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h | ||
6 | [ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2 | ||
7 | + | ||
8 | +# OE | ||
9 | +if [ x$CROSSHACK = xtrue ] ; then | ||
10 | + echo "Exiting now, since we have what we want: a qmake binary" | ||
11 | + exit 0 | ||
12 | +fi | ||
13 | fi # Build qmake | ||
14 | |||
15 | #------------------------------------------------------------------------------- | ||