flite: depend on alsa-lib when available
The flite configure script detects the availability of alsa-lib. Add alsa-lib to flite dependencies to make sure alsa-lib is always detected when available. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
b1f181af78
commit
2d42ac75fd
@ -38,4 +38,11 @@ define FLITE_EXTRACT_CMDS
|
||||
$(RM) -rf $(BUILD_DIR)/$(subst .tar.bz2,,$(FLITE_SOURCE))
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
FLITE_DEPENDENCIES += alsa-lib
|
||||
FLITE_CONF_OPT += --with-audio=alsa
|
||||
else
|
||||
FLITE_CONF_OPT += --with-audio=oss
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user