libdvdnav: requires thread support in toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Dec 2012 12:34:10 +0000 (12:34 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Jan 2013 21:07:06 +0000 (22:07 +0100)
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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libdvdnav/Config.in

index 5ba31e8752c93d3b77a92dbb315d90c98261e56e..4585be935c4f09734e603b4ce5a1462e9eb3b044 100644 (file)
@@ -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