diff --git a/package/cegui06/Config.in b/package/cegui06/Config.in
index 92bbb70b81..f03e4884b4 100644
--- a/package/cegui06/Config.in
+++ b/package/cegui06/Config.in
@@ -1,10 +1,11 @@
-comment "cegui06 needs a toolchain w/ C++, threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+comment "cegui06 needs a toolchain w/ C++, threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
 
 config BR2_PACKAGE_CEGUI06
 	bool "cegui06"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_PACKAGE_EXPAT
 	select BR2_PACKAGE_FREETYPE
 	select BR2_PACKAGE_PCRE
diff --git a/package/spice/Config.in b/package/spice/Config.in
index 9bddb06af1..b95e32e1b7 100644
--- a/package/spice/Config.in
+++ b/package/spice/Config.in
@@ -50,11 +50,15 @@ comment "client needs a toolchain w/ threads, C++"
 config BR2_PACKAGE_SPICE_GUI
 	bool "Enable GUI"
 	depends on BR2_PACKAGE_SPICE_CLIENT
+	depends on !BR2_PREFER_STATIC_LIB
 	select BR2_PACKAGE_CEGUI06
 	help
 	  Say 'y' here to enable the Graphical User Interface (GUI)
 	  start dialog.
 
+comment "gui needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_SPICE_TUNNEL
 	bool "Enable network redirection"
 	select BR2_PACKAGE_SLIRP