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) | |
download | meta-qt5-47d1132b1dc2521299f5041dbb61c8afc29461fd.tar.gz |
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 \ | |||
281 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ | 281 | -e 's:HostSpec =.*:HostSpec = ${TARGET_MKSPEC}:g' \ |
282 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ | 282 | -e 's:TargetSpec =.*:TargetSpec = ${TARGET_MKSPEC}:g' \ |
283 | $D${bindir}/qt.conf | 283 | $D${bindir}/qt.conf |
284 | } | ||
285 | |||
286 | pkg_postinst_${PN}-mkspecs () { | ||
284 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri | 287 | sed -i 's: cross_compile : :g' $D${OE_QMAKE_PATH_ARCHDATA}/mkspecs/qconfig.pri |
285 | sed -i \ | 288 | sed -i \ |
286 | -e 's: cross_compile : :g' \ | 289 | -e 's: cross_compile : :g' \ |