package/dav1d: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 21 Mar 2020 16:33:16 +0000 (17:33 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 21 Mar 2020 16:59:06 +0000 (17:59 +0100)
dav1d needs dynamic library since version 0.6.0 and
https://github.com/videolan/dav1d/commit/6b611d36acab8ce1afdd528599322bb6b2d28727

Fixes:
 - http://autobuild.buildroot.org/results/c82b6e3c1cf968c644f3dee376b16760fb4593bb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/dav1d/Config.in

index 00d2fd17f18ea33db814407f2622b81dd3bedaf8..fb2902558fc008809e3e9613f50e0923c3dbadae 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_DAV1D
        bool "dav1d"
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
        help
          dav1d is a new AV1 cross-platform decoder, open-source, and
@@ -7,5 +8,5 @@ config BR2_PACKAGE_DAV1D
 
          https://code.videolan.org/videolan/dav1d
 
-comment "dav1d needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "dav1d needs a toolchain w/ threads, dynamic library"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS