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:
Baruch Siach 2014-05-01 06:17:27 +03:00 committed by Peter Korsgaard
parent b1f181af78
commit 2d42ac75fd
1 changed files with 7 additions and 0 deletions

View File

@ -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))