libva-intel-driver: add indirect dependency on BR2_PREFER_STATIC_LIB
authorArnout Vandecappelle <arnout@mind.be>
Sun, 12 Oct 2014 17:41:41 +0000 (19:41 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Oct 2014 19:12:35 +0000 (21:12 +0200)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libva-intel-driver/Config.in

index 89a3264c928b4271fa86a552b1d3ff3d280e18b4..a0f397b327b97b8b8999ab35e354640b375a8b46 100644 (file)
@@ -9,11 +9,13 @@ config BR2_PACKAGE_LIBVA_INTEL_DRIVER
        depends on BR2_i386 || BR2_x86_64
        depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm/libpthread-stubs
        depends on BR2_LARGEFILE # libdrm
+       depends on !BR2_PREFER_STATIC_LIB # libva
        help
          VA-API back-end driver for Intel graphics chips
 
          https://01.org/linuxgraphics/community/vaapi
 
-comment "libva intel driver needs a toolchain w/ largefile, threads"
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "libva intel driver needs a toolchain w/ largefile, threads, dynamic library"
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_PREFER_STATIC_LIB
        depends on BR2_i386 || BR2_x86_64