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 <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-08-10 19:15:26 +02:00
parent 55f70939b8
commit e0f441a234

View File

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