luaposix: add ncurses dependency

luaposix includes a curses binding which is optional and auto-detected by autotools.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Francois Perrad 2013-09-19 08:31:39 +02:00 committed by Peter Korsgaard
parent 04685e18cd
commit b722bfc321
1 changed files with 4 additions and 0 deletions

View File

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