[lxc-devel] [PATCH] lua: Do not link Lua module to the Lua core library

Stéphane Graber stgraber at ubuntu.com
Thu Feb 20 14:41:56 UTC 2014


On Thu, Feb 20, 2014 at 09:54:35AM +0000, Natanael Copa wrote:
> Modules should not link to the Lua core library.
> 
> See http://lua-users.org/wiki/BuildingModules under
> "Do Not Link Modules to the Lua Core Libraries"
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  src/lua-lxc/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/lua-lxc/Makefile.am b/src/lua-lxc/Makefile.am
> index 7bbaf61..540238f 100644
> --- a/src/lua-lxc/Makefile.am
> +++ b/src/lua-lxc/Makefile.am
> @@ -18,7 +18,7 @@ core_so_LDFLAGS = \
>  	-L$(top_srcdir)/src/lxc \
>  	-Wl,-soname,core.so.$(firstword $(subst ., ,$(VERSION)))
>  
> -core_so_LDADD = -llxc $(LUA_LIBS)
> +core_so_LDADD = -llxc
>  
>  lxc.lua:
>  
> -- 
> 1.9.0
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140220/5f62020f/attachment.pgp>


More information about the lxc-devel mailing list