From: Thomas Petazzoni Date: Tue, 10 Aug 2010 17:15:26 +0000 (+0200) Subject: Add dependency from util-linux on ncurses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0f441a234dc2e0e8b49272ab608da2e7c69f2a7;p=buildroot.git Add dependency from util-linux on ncurses util-linux can build without ncurses, but when ncurses is available, additional features can be built (such as the more command). Therefore, in util-linux.mk, when ncurses is available, mark it as a dependency. Signed-off-by: Thomas Petazzoni --- diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index f330447fb8..445b4d1c79 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -23,6 +23,10 @@ UTIL-LINUX_DEPENDENCIES += gettext libintl UTIL-LINUX_MAKE_OPT = LIBS=-lintl endif +ifeq ($(BR2_PACKAGE_NCURSES),y) +UTIL-LINUX_DEPENDENCIES += ncurses +endif + $(DL_DIR)/$(UTIL-LINUX_SOURCE): $(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))