summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2013-09-19 06:31:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-19 19:38:21 (GMT)
commitb722bfc32184a82b6e56e779cff7a4bac7f69874 (patch)
tree27236776d1d01b8c596a9f66fbf06e0f623e81b5
parent04685e18cdf58c39d34024bb613a764ae87302ca (diff)
downloadbuildroot-b722bfc32184a82b6e56e779cff7a4bac7f69874.tar.gz
buildroot-b722bfc32184a82b6e56e779cff7a4bac7f69874.tar.bz2
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>
-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 ff99127..cbcdf32 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))