Skip to contentSkip to conversation

package/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin

PATCH New aduskett at gmail.com 3 participants 3 messages May 29, 2019 – Jun 6, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin

From: Adam Duskett <[email protected]>

The decklink plugin uses dlfcn.

---
 package/gstreamer1/gst1-plugins-bad/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/gstreamer1/gst1-plugins-bad/Config.in +3 -2
index ac77836312..7b788c59b6 100644
@@ -351,11 +351,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 # uses dlfcn
 	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"
Signature · 1 line
2.21.0
#1 lore raw

PATCH 1/1 package/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin

Quoted 8 lines · On Wed, 29 May 2019 13:19:08 -0400 aduskett at gmail.com wrote:

From: Adam Duskett <[email protected]>

The decklink plugin uses dlfcn.

---
 package/gstreamer1/gst1-plugins-bad/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com