From: Baruch Siach Date: Thu, 1 May 2014 03:17:27 +0000 (+0300) Subject: flite: depend on alsa-lib when available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d42ac75fd07c1f5f187e08a0ccf02c24f1bde4e;p=buildroot.git 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 --- 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))