From patchwork Fri Jul 20 12:42:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: lua: ensure that host-lua does not depend on host-readline and host-ncurses From: Thomas Petazzoni X-Patchwork-Id: 172242 Message-Id: <> To: Date: Fri, 20 Jul 2012 14:42:36 +0200 Commit ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that commit, the dependencies of host-lua are automatically computed from the dependencies of lua. Since lua can depend on readline and ncurses, it means that host-lua can depend on host-readline and host-ncurses, and the host-readline package does not exist in Buildroot. Since there is no reason to build host-lua with readline/ncurses support, just re-add the HOST_LUA_DEPENDENCIES variable. Signed-off-by: Thomas Petazzoni Cc: Francois Perrad --- package/lua/ | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/lua/ b/package/lua/ index 8f71fc2..074b9ad 100644 --- a/package/lua/ +++ b/package/lua/ @@ -23,6 +23,9 @@ else LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN endif +# We never want to have host-readline and host-ncurses as dependencies +# of host-lua. +HOST_LUA_DEPENDENCIES = HOST_LUA_CFLAGS = -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX HOST_LUA_MYLIBS = -ldl