pulseaudio: needs dynamic library support
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 17 May 2015 07:18:23 +0000 (09:18 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 17 May 2015 07:22:49 +0000 (09:22 +0200)
Fixes:
http://autobuild.buildroot.net/results/75a/75a3380fdcce88f1f9f2a77c4f059787623919d7/
http://autobuild.buildroot.net/results/f4a/f4a22344bd5c8f59e6f8cacb6a549f8d8fe99af2/

Pulseaudio uses dlfcn.h, so it cannot work in a pure static environment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer/gst-plugins-good/Config.in
package/gstreamer1/gst1-plugins-good/Config.in
package/mpd/Config.in
package/pulseaudio/Config.in

index 70ae9c17960f9e6808853b0458f8e6979e114beb..0544b7cc0421827031f9bcf8736424d381d8de48 100644 (file)
@@ -205,13 +205,14 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_USE_MMU # pulseaudio
        depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+       depends on !BR2_STATIC_LIBS # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        bool "pulseaudio"
 
-comment "pulseaudio support needs a toolchain w/ threads"
+comment "pulseaudio support needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
        depends on BR2_ARCH_HAS_ATOMICS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
        bool "souphttpsrc (http client)"
index b3929b440b1d1a242076a9bf4c81983f66f60e12..6216c7f93470d8111098d1a1b3bf1de390925a20 100644 (file)
@@ -312,15 +312,16 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_USE_MMU # pulseaudio
        depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+       depends on !BR2_STATIC_LIBS # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        bool "pulseaudio"
        help
          PulseAudio plugin library
 
-comment "pulseaudio support needs a toolchain w/ threads"
+comment "pulseaudio support needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
        depends on BR2_ARCH_HAS_ATOMICS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
        bool "souphttpsrc (http client)"
index b57aa55d3a82a9d81702b1960c74a8e51304ad7a..ed036fe9859b466973d7f38a7594028d035d5401 100644 (file)
@@ -238,10 +238,14 @@ config BR2_PACKAGE_MPD_OSS
 config BR2_PACKAGE_MPD_PULSEAUDIO
        bool "pulseaudio"
        depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+       depends on !BR2_STATIC_LIBS # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        help
          Enable pulseaudio output support.
 
+comment "pulseaudio support needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
+
 comment "Miscellaneous plugins"
 
 config BR2_PACKAGE_MPD_AVAHI_SUPPORT
index b2be9ab905e4f8e7dfe7f2de7fc85a09b4bae45d..63c8ca4b2e6dd7848f2e392488c83647b028f5ef 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PULSEAUDIO
        bool "pulseaudio"
        depends on BR2_USE_WCHAR
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LIBTOOL
        select BR2_PACKAGE_JSON_C
        select BR2_PACKAGE_LIBSNDFILE
@@ -30,7 +31,7 @@ config BR2_PACKAGE_PULSEAUDIO_DAEMON
 
 endif
 
-comment "pulseaudio needs a toolchain w/ wchar, threads"
+comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
        depends on BR2_ARCH_HAS_ATOMICS
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS