libva: needs shared library support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Jul 2014 18:41:16 +0000 (20:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Jul 2014 20:01:59 +0000 (22:01 +0200)
Fixes:

  http://autobuild.buildroot.org/results/565/5655d1ee3f3b7503187d2e131d239cdde86683fb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
package/libva/Config.in

index 9d63b52650ca674cd29823a111a3b00a09f8f7ef..05369c5dbf3b908913c55f3356be2baf31c82f03 100644 (file)
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBVA
        select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
        depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
        depends on BR2_LARGEFILE # libdrm
+       depends on !BR2_PREFER_STATIC_LIB
        help
          The main motivation for VA-API (Video Acceleration API) is to enable
          hardware accelerated video decode/encode at various entry-points (VLD,
@@ -14,5 +15,6 @@ config BR2_PACKAGE_LIBVA
 
          http://www.freedesktop.org/wiki/Software/vaapi/
 
-comment "libva needs a toolchain w/ largefile, threads"
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libva needs a toolchain w/ largefile, threads, dynamic library"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_PREFER_STATIC_LIB