Skip to contentSkip to conversation

libdvdnav: requires thread support in toolchain

PATCH New Thomas Petazzoni 2 participants 2 messages Dec 19, 2012 – Jan 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libdvdnav: requires thread support in toolchain

libdvdnav requires thread support. The only package that depends on libdvdnav is mplayer, and it is an optional dependency, only activated when libdvdnav is enabled. So we don't have to push this thread support dependency to any other package.

Fixes:

http://autobuild.buildroot.org/results/54d6a737ae805ef1dbf77e5d11b4dd5366873ec0/build-end.log

---
 package/libdvdnav/Config.in |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libdvdnav/Config.in +3 -2
index 5ba31e8..4585be9 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBDVDNAV
 	bool "libdvdnav"
 	depends on BR2_LARGEFILE # libdvdread
+	depends on BR2_TOOLCHAIN_HAS_THREADS
         select BR2_PACKAGE_LIBDVDREAD
 	help
 	  libdvdnav is a library that allows easy use of sophisticated
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBDVDNAV
 
 	  http://www.mplayerhq.hu
 
-comment "libdvdnav requires a toolchain with LARGEFILE support"
-	depends on !BR2_LARGEFILE
+comment "libdvdnav requires a toolchain with LARGEFILE and thread support"
+	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 libdvdnav: requires thread support in toolchain

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Thomas> libdvdnav requires thread support. The only package that depends on Thomas> libdvdnav is mplayer, and it is an optional dependency, only activated Thomas> when libdvdnav is enabled. So we don't have to push this thread Thomas> support dependency to any other package.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard