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

Natanael Copa ncopa at alpinelinux.org
Thu Feb 20 09:54:35 UTC 2014


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>
---
 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



More information about the lxc-devel mailing list