summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mediastreamer/mediastreamer.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/mediastreamer/mediastreamer.mk b/package/mediastreamer/mediastreamer.mk
index be91c44e7..716a7334e 100644
--- a/package/mediastreamer/mediastreamer.mk
+++ b/package/mediastreamer/mediastreamer.mk
@@ -12,9 +12,10 @@ else
MEDIASTREAMER_CONF_OPT += --disable-alsa
endif
-ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
+# portaudio backend needs speex as well
+ifeq ($(BR2_PACKAGE_PORTAUDIO)$(BR2_PACKAGE_SPEEX),yy)
MEDIASTREAMER_CONF_OPT += --enable-portaudio
-MEDIASTREAMER_DEPENDENCIES += portaudio
+MEDIASTREAMER_DEPENDENCIES += portaudio speex
else
MEDIASTREAMER_CONF_OPT += --disable-portaudio
endif