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:
parent
55f70939b8
commit
e0f441a234
@ -23,6 +23,10 @@ UTIL-LINUX_DEPENDENCIES += gettext libintl
|
|||||||
UTIL-LINUX_MAKE_OPT = LIBS=-lintl
|
UTIL-LINUX_MAKE_OPT = LIBS=-lintl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||||
|
UTIL-LINUX_DEPENDENCIES += ncurses
|
||||||
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(UTIL-LINUX_SOURCE):
|
$(DL_DIR)/$(UTIL-LINUX_SOURCE):
|
||||||
$(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))
|
$(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user