diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2018-02-04 13:05:27 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-02-05 14:55:46 +0100 |
commit | 5b679d7806767206f2c7bd7ff69b412bebb504f8 (patch) | |
tree | b3696a0232025f54eaed5a9f65b21bce45c1cb46 /package/libsamplerate | |
parent | 2cb312f963f64478559d9461fe12c7f87acfadc2 (diff) | |
download | buildroot-5b679d7806767206f2c7bd7ff69b412bebb504f8.tar.gz buildroot-5b679d7806767206f2c7bd7ff69b412bebb504f8.zip |
package/libsamplerate: add optional dependency to alsa-lib
Configure summary without this patch and without alsa-lib built before:
Extra tools required for testing and examples :
[...]
Have ALSA : ................... no
and with this patch
Extra tools required for testing and examples :
[...]
Have ALSA : ................... yes
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libsamplerate')
-rw-r--r-- | package/libsamplerate/libsamplerate.mk | 4 |
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 |