libbluray: needs dynamic library support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 May 2014 18:23:52 +0000 (20:23 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 12 May 2014 20:19:11 +0000 (22:19 +0200)
The dependency is propagated to XBMC, even though XBMC currently
requires an (e)glibc toolchain, which always have dynamic library
support. This is just in case one day XBMC can be built against
uClibc.

Fixes:

  http://autobuild.buildroot.org/results/3fa/3fae35ebcf14d6f38284d8318f61f9b99998794c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libbluray/Config.in
package/xbmc/Config.in

index 2571f5ccc57a77541917b126506a010a028fa540..e17477380f1c77b9f06e2affc3416ff0b563d4fa 100644 (file)
@@ -1,10 +1,12 @@
 config BR2_PACKAGE_LIBBLURAY
        bool "libbluray"
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_PREFER_STATIC_LIB
        help
          libbluray is a client library for accessing bluray disks.
 
          http://www.videolan.org/developers/libbluray.html
 
-comment "libbluray needs a toolchain w/ threads"
+comment "libbluray needs a toolchain w/ threads, dynamic library"
        depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_PREFER_STATIC_LIB
index ed8872be0d68db26ec140b68c9ae93a135865caf..1e2f932ae81b15a7ef4dbc435c8ee7727848af28 100644 (file)
@@ -85,10 +85,14 @@ config BR2_PACKAGE_XBMC_DBUS
 config BR2_PACKAGE_XBMC_LIBBLURAY
        bool "blu-ray"
        select BR2_PACKAGE_LIBBLURAY
+       depends on !BR2_PREFER_STATIC_LIB
        help
          Enable Blu-ray input support.
          Select this if you want to play back Blu-ray content.
 
+comment "libbluray support needs a toolchain w/ dynamic library"
+       depends on BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_XBMC_LIBCEC
        bool "hdmi cec"
        depends on !BR2_PREFER_STATIC_LIB # libcec