summaryrefslogtreecommitdiff
path: root/package/luaposix
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2013-09-19 08:31:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-09-19 21:38:21 +0200
commitb722bfc32184a82b6e56e779cff7a4bac7f69874 (patch)
tree27236776d1d01b8c596a9f66fbf06e0f623e81b5 /package/luaposix
parent04685e18cdf58c39d34024bb613a764ae87302ca (diff)
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>
Diffstat (limited to 'package/luaposix')
-rw-r--r--package/luaposix/luaposix.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
index ff99127d8..cbcdf3259 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))