Skip to contentSkip to conversation

libbluray: needs dynamic library support

PATCH New Thomas Petazzoni 2 participants 2 messages May 12, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbluray: needs dynamic library support

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/

---
 package/libbluray/Config.in | 4 +++-
 package/xbmc/Config.in      | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)
package/libbluray/Config.in +3 -1
index 2571f5c..e174773 100644
@@ -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
package/xbmc/Config.in +4 -0
index ed8872b..1e2f932 100644
@@ -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
Signature · 1 line
1.9.2
#1 lore raw

PATCH 1/1 libbluray: needs dynamic library support

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Quoted 5 lines

Fixes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard