qt: tighten webkit dependencies
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 27 Nov 2010 20:09:15 +0000 (21:09 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 27 Nov 2010 20:09:59 +0000 (21:09 +0100)
webkit needs shared library and gui support to build, so make that visible
in Config.in.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in

index 1f8633b27805bedde8c0a1d3f5dd7e0a667f969f..af1db6ddf1ab602dbf18b00527be0288d2518a26 100644 (file)
@@ -335,11 +335,16 @@ config BR2_PACKAGE_QT_NETWORK
 
 config BR2_PACKAGE_QT_WEBKIT
        bool "WebKit Module"
+       depends on BR2_PACKAGE_QT_SHARED
+       depends on BR2_PACKAGE_QT_GUI_MODULE
        depends on BR2_PACKAGE_QT_NETWORK
        help
          Build the WebKit module.
          If unsure, say n.
 
+comment "WebKit needs shared library/gui/network support"
+       depends on !(BR2_PACKAGE_QT_SHARED && BR2_PACKAGE_QT_GUI_MODULE && BR2_PACKAGE_QT_NETWORK)
+
 config BR2_PACKAGE_QT_JAVASCRIPTCORE
        bool "JavaScriptCore JIT compiler"
        help