Commit 2d42ac75 authored by Baruch Siach's avatar Baruch Siach Committed by Peter Korsgaard
Browse files

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: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent b1f181af
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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))