From 2d42ac75fd07c1f5f187e08a0ccf02c24f1bde4e Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 1 May 2014 06:17:27 +0300 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/flite/flite.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/flite/flite.mk b/package/flite/flite.mk index 7511b87731..08d2ce1622 100644 --- a/package/flite/flite.mk +++ b/package/flite/flite.mk @@ -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)) -- 2.30.2