From 06d8abd0908524d6623958612e5ba8093ab5d921 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 3 Dec 2016 13:17:35 +0100 Subject: [PATCH] package/aubio: add libsndfile optional dependency Signed-off-by: Romain Naour Signed-off-by: Thomas Petazzoni --- package/aubio/aubio.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index aa4ddd0fce..e1694ab64d 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -16,9 +16,15 @@ AUBIO_CONF_OPTS = \ --disable-atlas \ --disable-samplerate \ --disable-avcodec \ - --disable-sndfile \ --disable-jack \ --disable-fftw3 \ --disable-fftw3f +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +AUBIO_DEPENDENCIES += libsndfile +AUBIO_CONF_OPTS += --enable-sndfile +else +AUBIO_CONF_OPTS += --disable-sndfile +endif + $(eval $(waf-package)) -- 2.30.2