diff options
| -rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc index c4ef6e80..36bc334a 100644 --- a/recipes-qt/qt5/nativesdk-qtbase.inc +++ b/recipes-qt/qt5/nativesdk-qtbase.inc | |||
| @@ -178,8 +178,10 @@ do_install() { | |||
| 178 | find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g" | 178 | find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE}${STAGING_DIR_NATIVE},(INSTALL_ROOT)${STAGING_DIR_NATIVE},g" |
| 179 | 179 | ||
| 180 | # switch back the proper qmake | 180 | # switch back the proper qmake |
| 181 | rm ${B}/bin/qmake | 181 | if [ -e ${B}/bin/qmake-real ]; then |
| 182 | mv ${B}/bin/qmake-real ${B}/bin/qmake | 182 | rm ${B}/bin/qmake |
| 183 | mv ${B}/bin/qmake-real ${B}/bin/qmake | ||
| 184 | fi | ||
| 183 | 185 | ||
| 184 | oe_runmake install INSTALL_ROOT=${D} | 186 | oe_runmake install INSTALL_ROOT=${D} |
| 185 | 187 | ||
