summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Aşıcı <fatih.asici@gmail.com>2013-12-24 06:53:57 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-25 17:14:27 (GMT)
commitdacc0a44acefefec47d9a90d928b03e6f88e17fe (patch)
treec8e2cba73bc4e3ec814d16d2d7afba35f042bbde
parentecf4dff4ee72900ea42b785b314454dae04f5bd5 (diff)
downloadbuildroot-dacc0a44acefefec47d9a90d928b03e6f88e17fe.tar.gz
buildroot-dacc0a44acefefec47d9a90d928b03e6f88e17fe.tar.bz2
qt5: install headers into /usr/include/qt5
There are places in Qt's source where headers included with the name of the module subdirectory (e.g. #include <QtCore/QHash>). Therefore, the build system passes the top header directory to the compiler; but this results in a error when building host tools since sysroot/usr/include directory includes architecture specific system headers. In order to prevent this, install all Qt headers into a subdirectory in /usr/include. Fixes: http://autobuild.buildroot.net/results/4f1/4f16c0b38bdd6e40efcc781c12fae81c0bfabb72/ Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/qt5/qt5base/qt5base.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 1b753d3..e46bdeb 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -159,6 +159,7 @@ define QT5BASE_CONFIGURE_CMDS
-v \
-prefix /usr \
-hostprefix $(HOST_DIR)/usr \
+ -headerdir /usr/include/qt5 \
-sysroot $(STAGING_DIR) \
-plugindir /usr/lib/qt/plugins \
-no-rpath \