summaryrefslogtreecommitdiffstats
path: root/package/portaudio
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-18 07:21:37 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-20 21:50:21 +0200
commitbeb45605dba13fbe54e26a26e78fc6d51651d3eb (patch)
treeed17cf5e81b5d22db3b5b49246d71006bf5dfdce /package/portaudio
parente04b4dc7b67fd27860bcd7049816921d8b865e7a (diff)
downloadbuildroot-novena-beb45605dba13fbe54e26a26e78fc6d51651d3eb.tar.gz
buildroot-novena-beb45605dba13fbe54e26a26e78fc6d51651d3eb.zip
alsa-lib: require thread support
Some parts of alsa-lib correctly use threads only when available, but some other parts, especially certain PCM plugins, unconditionally require threads. While it would certainly be possible to fix alsa-lib to only use threads when available, it probably doesn't make much sense, since on an embedded system that has audio, we are probably powerful enough to enable thread support in the C library. Fixes: http://autobuild.buildroot.org/results/e14469be7f6171f4c8c0c09c8e32943819f7938b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/portaudio')
-rw-r--r--package/portaudio/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/portaudio/Config.in b/package/portaudio/Config.in
index f91acc0a2..df884a7f7 100644
--- a/package/portaudio/Config.in
+++ b/package/portaudio/Config.in
@@ -11,6 +11,7 @@ if BR2_PACKAGE_PORTAUDIO
config BR2_PACKAGE_PORTAUDIO_ALSA
bool "alsa support"
select BR2_PACKAGE_ALSA_LIB
+ depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
default y
help
Compile with ALSA support.