qt: hide shared library option if BR2_PREFER_STATIC_LIB
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 12 May 2011 15:07:15 +0000 (17:07 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 12 May 2011 15:07:15 +0000 (17:07 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/Config.in

index b223772cfed67c52cb002e0abf5fe7ff937bade4..eafc855a449f21ef686c32a66bd5ce15caa8bf01 100644 (file)
@@ -23,12 +23,12 @@ config BR2_PACKAGE_QT_DEMOS
 
 choice
        prompt "Library type"
-       default BR2_PACKAGE_QT_SHARED
        help
          Selects the library type: Shared or Static
 
 config BR2_PACKAGE_QT_SHARED
        bool "Shared library"
+       depends on !BR2_PREFER_STATIC_LIB
        help
          Create and use shared Qt libraries.
          If you have multiple programs that depend on Qt or intend to use