]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lua: Do not link Lua module to the Lua core library
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 20 Feb 2014 09:54:35 +0000 (09:54 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 20 Feb 2014 15:22:20 +0000 (10:22 -0500)
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@alpinelinux.org>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lua-lxc/Makefile.am

index 7bbaf610cfc18e52a046c3508c7175aa2ac80962..540238f927fc2cead23044ef1229cd780e72ee48 100644 (file)
@@ -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: