aboutsummaryrefslogtreecommitdiff
path: root/package/libsamplerate/libsamplerate.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsamplerate/libsamplerate.mk')
-rw-r--r--package/libsamplerate/libsamplerate.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libsamplerate/libsamplerate.mk b/package/libsamplerate/libsamplerate.mk
index 76e93f913e..c107650cb4 100644
--- a/package/libsamplerate/libsamplerate.mk
+++ b/package/libsamplerate/libsamplerate.mk
@@ -12,6 +12,10 @@ LIBSAMPLERATE_CONF_OPTS = --disable-fftw --program-transform-name=''
LIBSAMPLERATE_LICENSE = BSD-2-Clause
LIBSAMPLERATE_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+LIBSAMPLERATE_DEPENDENCIES += alsa-lib
+endif
+
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
LIBSAMPLERATE_DEPENDENCIES += libsndfile
endif