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>
This commit is contained in:
parent
2cb312f963
commit
5b679d7806
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue