diff --git a/recipes-qt/qt5/nativesdk-qttools.inc b/recipes-qt/qt5/nativesdk-qttools.inc index e9b294984d..494c7b880b 100644 --- a/recipes-qt/qt5/nativesdk-qttools.inc +++ b/recipes-qt/qt5/nativesdk-qttools.inc @@ -21,5 +21,11 @@ do_configure() { } do_install() { + # Fix install paths for all + find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" + oe_runmake install INSTALL_ROOT=${D} + + # remove things unused in nativesdk + rm -rf ${D}${libdir} }