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 <[email protected]>
---
 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
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to