gstreamer: needs dynamic libraries
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 5 Nov 2017 20:31:22 +0000 (21:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 5 Nov 2017 22:15:26 +0000 (23:15 +0100)
Fixes:
http://autobuild.buildroot.net/results/49d/49dcec0bd2f3bb78c18675a9fa5c9c53cc183fd2/

g_cclosure_marshal_VOID__VOID is defined both in libgobject.a and
libgstreamer.a. It is probably possible to fix this, but gstreamer0.10
has been deprecated for a long time now and is anyway unlikely to be
used in static-only situations, so let's just require dynamic linking.

Propagate to the reverse dependencies. opencv3 already did depend on
dynamic libs.

[Peter: add autobuild reference]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer/gstreamer/Config.in
package/libplayer/Config.in
package/opencv/Config.in

index eb1249ac5f278ade4d56ba02a3936db04dde8ac4..99c90f1a146f04e7e48709ae212b6d6c72c31c6e 100644 (file)
@@ -1,12 +1,14 @@
-comment "gstreamer 0.10 needs a toolchain w/ wchar, threads"
+comment "gstreamer 0.10 needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GSTREAMER
        bool "gstreamer 0.10"
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LIBGLIB2
        help
          GStreamer is an open source multimedia framework.
index 0ae558d8df0f1f62826cc3d961db091bf9ed2047..82083a0eea3d20341a0ceada1ee7ebf32333e481 100644 (file)
@@ -20,11 +20,13 @@ config BR2_PACKAGE_LIBPLAYER_GSTREAMER
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
+       depends on !BR2_STATIC_LIBS # gstreamer
        select BR2_PACKAGE_GSTREAMER
 
-comment "gstreamer backend needs a toolchain w/ wchar, threads"
+comment "gstreamer backend needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
 endif
 
 comment "libplayer needs a toolchain w/ threads"
index 742ae3ebbab20f7860000bbabf887a1fe410c462..26109a707dd1f400e34a9b69f54a9fda506638a7 100644 (file)
@@ -208,13 +208,16 @@ config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
        depends on BR2_USE_MMU # gstreamer -> libglib2
        depends on BR2_USE_WCHAR # gstreamer -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
+       depends on !BR2_STATIC_LIBS # gstreamer
        select BR2_PACKAGE_GSTREAMER
        select BR2_PACKAGE_GST_PLUGINS_BASE
        select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
 
-comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
+comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
+
 
 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
        bool "gstreamer-1.x"