[Buildroot] [PATCH 2/2] luaposix: add ncurses dependency
Francois Perrad
fperrad at gmail.com
Thu Sep 19 06:31:39 UTC 2013
luaposix includes a curses binding which is optional and auto-detected by autotools.
Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
package/luaposix/luaposix.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
index 1d1ee6a..64c4406 100644
--- a/package/luaposix/luaposix.mk
+++ b/package/luaposix/luaposix.mk
@@ -12,4 +12,8 @@ LUAPOSIX_DEPENDENCIES = lua host-lua
LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua"
LUAPOSIX_AUTORECONF = YES
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+ LUAPOSIX_DEPENDENCIES += ncurses
+endif
+
$(eval $(autotools-package))
--
1.7.9.5
More information about the buildroot
mailing list