aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2017-11-13 10:41:36 +0100
committerSamuli Piippo <samuli.piippo@qt.io>2017-11-23 08:40:19 +0000
commit604db3572f4d912634c82bb93487b374fc2afd18 (patch)
treeb24070e20069f50a795bcfe369d4c3b93e0a7159
parent9fe5d891c8f01d4c27a0c2f7d6e0b541369971bf (diff)
Fix missing /usr/include path for natvie tools build of webengine
During the webengine build, gn builds also native tools and needs to be fed with correct /usr/include path for native sysroot. Task-number: QTBUG-63140 Change-Id: I348b75c4992dcf2e8b0e6f2528a203a952fcb2b6 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index 8b8d73df..0fe17b78 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -81,6 +81,7 @@ require qt5.inc
require qt5-git.inc
export GN_PKG_CONFIG_HOST = "${STAGING_BINDIR_NATIVE}/pkg-config-native"
+export GN_HOST_TOOLCHAIN_EXTRA_CPPFLAGS = "-I${STAGING_DIR_NATIVE}/usr/include"
do_configure() {
# Disable autodetection from sysroot: