summaryrefslogtreecommitdiffstats
path: root/package/spice/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-12-25 08:11:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-26 23:52:26 +0100
commita61d33a3443e535ce2fde53ffe9fa3161fb6afea (patch)
tree141bdd3811ff61703be5607ad4d8d6199f214ed5 /package/spice/Config.in
parent6b449ed5dfb8c8f8c889f242cf3d5b27b18673c7 (diff)
downloadbuildroot-novena-a61d33a3443e535ce2fde53ffe9fa3161fb6afea.tar.gz
buildroot-novena-a61d33a3443e535ce2fde53ffe9fa3161fb6afea.zip
package/spice: don't enable GUI if dependencies not met
The spice GUI selects unconditionally selects cegui06, but cegui06 requires threads and C++, so spice GUI must also depend on threads and C++. Fixes: http://autobuild.buildroot.net/results/37f8ee90bb4348db97daef83493005c42a193b91/ Merry X-Mas! ;-) [Peter: add SPICE_CLIENT dependency] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/spice/Config.in')
-rw-r--r--package/spice/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/spice/Config.in b/package/spice/Config.in
index 1b264e7e2..0c2c7a643 100644
--- a/package/spice/Config.in
+++ b/package/spice/Config.in
@@ -35,8 +35,14 @@ config BR2_PACKAGE_SPICE_CLIENT
select BR2_PACKAGE_XLIB_LIBXFIXES
select BR2_PACKAGE_XLIB_LIBXRANDR
+comment "GUI requires a toolchain with threads and C++"
+ depends on BR2_PACKAGE_SPICE_CLIENT
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+
config BR2_PACKAGE_SPICE_GUI
bool "Enable GUI"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # cegui06
+ depends on BR2_INSTALL_LIBSTDCPP # cegui06
depends on BR2_PACKAGE_SPICE_CLIENT
select BR2_PACKAGE_CEGUI06
help