-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
 
 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