aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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))