From b722bfc32184a82b6e56e779cff7a4bac7f69874 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 19 Sep 2013 08:31:39 +0200 Subject: [PATCH] luaposix: add ncurses dependency luaposix includes a curses binding which is optional and auto-detected by autotools. Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/luaposix/luaposix.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk index ff99127d8c..cbcdf32590 100644 --- a/package/luaposix/luaposix.mk +++ b/package/luaposix/luaposix.mk @@ -12,4 +12,8 @@ LUAPOSIX_LICENSE_FILES = COPYING LUAPOSIX_DEPENDENCIES = lua host-lua LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua" +ifeq ($(BR2_PACKAGE_NCURSES),y) + LUAPOSIX_DEPENDENCIES += ncurses +endif + $(eval $(autotools-package)) -- 2.30.2