summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFrederik Pasch <fpasch@googlemail.com>2010-12-08 23:09:03 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-08 23:09:24 +0100
commitd3d67f7fb527b3b549d9da0c67b42477a224b00b (patch)
tree43762e9cfe798d68d65f1fc238e138bddaff6d82 /package
parent17b66affdf439ed7c35d2825a1e2bf7967191e14 (diff)
qt: only build gui module if enabled
Closes #2905 Signed-off-by: Frederik Pasch <fpasch@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/qt/qt.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index e344259ae..2b5b31b78 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -190,6 +190,10 @@ else
QT_CONFIGURE+= -big-endian
endif
+ifneq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
+QT_CONFIGURE+= -no-gui
+endif
+
ifeq ($(BR2_PACKAGE_QT_GIF),y)
QT_CONFIGURE+= -qt-gif
else