* [Buildroot] [PATCH] lua: ensure that host-lua does not depend on host-readline and host-ncurses
@ 2012-07-20 12:42 Thomas Petazzoni
2012-07-20 18:06 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2012-07-20 12:42 UTC (permalink / raw)
To: buildroot
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 <thomas.petazzoni@free-electrons.com>
Cc: Francois Perrad <fperrad@gmail.com>
---
package/lua/lua.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 8f71fc2..074b9ad 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] lua: ensure that host-lua does not depend on host-readline and host-ncurses
2012-07-20 12:42 [Buildroot] [PATCH] lua: ensure that host-lua does not depend on host-readline and host-ncurses Thomas Petazzoni
@ 2012-07-20 18:06 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-07-20 18:06 UTC (permalink / raw)
To: buildroot
Le Fri, 20 Jul 2012 14:42:36 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :
> 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 <thomas.petazzoni@free-electrons.com>
> Cc: Francois Perrad <fperrad@gmail.com>
Applied, as well as two other fixes to make lua build with gcc 4.6, and
to make host-lua install properly when it is the first host package to
be built.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-20 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 12:42 [Buildroot] [PATCH] lua: ensure that host-lua does not depend on host-readline and host-ncurses Thomas Petazzoni
2012-07-20 18:06 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox