Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] audiofile: does not build with static-only
@ 2014-05-24 14:24 Luca Ceresoli
  2014-05-24 16:45 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Luca Ceresoli @ 2014-05-24 14:24 UTC (permalink / raw)
  To: buildroot

Also propagate to its reverse dependency (audiofile module for mpd).

Fixes:
  http://autobuild.buildroot.net/results/327/327c18db4e5d0ddc2c72a4684e103c19a1405e50/
  http://autobuild.buildroot.org/results/c8b/c8b64588eebf0bd8d879881b65e9d8efde00397d/
  http://autobuild.buildroot.org/results/028/028a3b97d56674560b8aa90b6e44b2e91858a5cb/

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 package/audiofile/Config.in | 5 +++--
 package/mpd/Config.in       | 4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/package/audiofile/Config.in b/package/audiofile/Config.in
index 4aa8d69..9752648 100644
--- a/package/audiofile/Config.in
+++ b/package/audiofile/Config.in
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_AUDIOFILE
 	bool "audiofile"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  The Audio File Library handles reading and writing audio files
 	  in many common formats.
 
 	  http://www.68k.org/~michael/audiofile/
 
-comment "audiofile needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "audiofile needs a toolchain w/ C++, dynamic library"
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
diff --git a/package/mpd/Config.in b/package/mpd/Config.in
index 1bf7ad1..96a3885 100644
--- a/package/mpd/Config.in
+++ b/package/mpd/Config.in
@@ -40,10 +40,14 @@ config BR2_PACKAGE_MPD_AO
 config BR2_PACKAGE_MPD_AUDIOFILE
 	bool "audiofile"
 	select BR2_PACKAGE_AUDIOFILE
+	depends on !BR2_PREFER_STATIC_LIB # audiofile
 	help
 	  Enable audiofile input/streaming support.
 	  Select this if you want to play back WAV files.
 
+comment "audiofile needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB
+
 config BR2_PACKAGE_MPD_PULSEAUDIO
 	bool "pulseaudio"
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-05-29  7:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 14:24 [Buildroot] [PATCH] audiofile: does not build with static-only Luca Ceresoli
2014-05-24 16:45 ` Thomas Petazzoni
2014-05-24 23:13   ` Gustavo Zacarias
2014-05-25 20:39     ` Peter Korsgaard
2014-05-25 21:00     ` Luca Ceresoli
2014-05-25 21:29       ` Gustavo Zacarias
2014-05-28 16:15       ` Arnout Vandecappelle
2014-05-29  7:54         ` Thomas Petazzoni
2014-05-26  9:34     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox