From c8dd927e0c6dd23f065c965f08e4921ed2635fda Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Tue, 31 Jan 2006 22:22:05 +0000 Subject: It was hard.. but at the end I won (or at least i believe so...). After install hello_world.lua works. svn path=/trunk/; revision=17137 --- plugins/lua/Makefile.am | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'plugins/lua/Makefile.am') diff --git a/plugins/lua/Makefile.am b/plugins/lua/Makefile.am index 65e050f3bd..1e3bde5c4a 100644 --- a/plugins/lua/Makefile.am +++ b/plugins/lua/Makefile.am @@ -21,30 +21,30 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -INCLUDES = -I$(top_srcdir) -I./lua-5.0.2/include +INCLUDES = -I$(top_srcdir) plugindir = @plugindir@ plugin_LTLIBRARIES = lua.la lua_la_SOURCES = \ - lua_tvb.c \ - lua_proto.c \ - lua_tree.c \ - lua_pinfo.c \ - lua_tap.c \ - packet-lua.c \ - packet-lua.h \ + lua_tvb.c \ + lua_proto.c \ + lua_tree.c \ + lua_pinfo.c \ + lua_tap.c \ + packet-lua.c \ + packet-lua.h \ plugin.c lua_la_LDFLAGS = -module -avoid-version -lua_la_LIBADD = @PLUGIN_LIBS@ +lua_la_LIBADD = @PLUGIN_LIBS@ @LUA_LIBS@ # Libs must be cleared, or else libtool won't create a shared module. # If your module needs to be linked against any particular libraries, # add them here. -LIBS = -L./lua-5.0.2/lib -llua -llualib +LIBS = CLEANFILES = \ @@ -62,9 +62,3 @@ EXTRA_DIST = \ dummy: touch dummy -GUNZIP = gzip -d -TAR = tar - -lua-5.0.2: lua-5.0.2.tar.gz - $(GUNZIP) lua-5.0.2.tar.gz | $(TAR) xf - - -- cgit v1.2.3