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:26:32 +0000 |
commit | 47d1132b1dc2521299f5041dbb61c8afc29461fd (patch) | |
tree | a802ff457745109374dd27d9612db6d4b9396ac5 | |
parent | 87f04621f3ceba43a2409b243cfe68f3dcaa4eff (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 a9c17559..2f23fa88 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -281,6 +281,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' \ |