diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-03-14 16:11:46 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-03-18 11:25:34 +0000 |
commit | 1e0678e118aa3ba5cc6b59416981b35545309c40 (patch) | |
tree | 3ffd7e136ede660fd6278c97babc893f3348d20e | |
parent | 7fdddb66587074c8f3f7b839054303a73c707e36 (diff) |
qtbase: fix target mkspec adjustment
mkspecs are not part of qtbase-tools
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 789d2c76..182c067e 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -270,6 +270,9 @@ sed -i \ -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ $D${bindir}/qt.conf +} + +pkg_postinst_${PN}-mkspecs () { sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri sed -i \ -e 's: cross_compile : :g' \ |