package/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin
authorAdam Duskett <Aduskett@gmail.com>
Wed, 29 May 2019 17:19:08 +0000 (13:19 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 20:49:48 +0000 (22:49 +0200)
The decklink plugin uses <dlfcn.h> functions: dlopen(), dlsym(), etc.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gstreamer1/gst1-plugins-bad/Config.in

index e0757e96c9216a1125cbf01e7651e1362814057c..34551ab532ca2f34ab219823d25d6a6454ebadeb 100644 (file)
@@ -319,11 +319,12 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK
        bool "decklink"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_STATIC_LIBS # <dlfcn.h>
        help
          Blackmagic Decklink plugin
 
-comment "decklink needs a toolchain w/ C++"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "decklink needs a toolchain w/ C++, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP  || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB
        bool "directfb"