From: Natanael Copa Date: Thu, 20 Feb 2014 09:54:35 +0000 (+0000) Subject: lua: Do not link Lua module to the Lua core library X-Git-Tag: lxc-1.0.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a91365ee5e48961f6769a8f4836cb030f1ee9e3c;p=thirdparty%2Flxc.git lua: Do not link Lua module to the Lua core library 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 Acked-by: Stéphane Graber --- diff --git a/src/lua-lxc/Makefile.am b/src/lua-lxc/Makefile.am index 7bbaf610c..540238f92 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: