From 6a2ee0a230b7c7957496ca61ee186901f1af427a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 14 Oct 2014 13:53:36 +0200 Subject: fixed module tests on Linux --- tests/modules/testmod2/GNUmakefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/modules/testmod2/GNUmakefile') diff --git a/tests/modules/testmod2/GNUmakefile b/tests/modules/testmod2/GNUmakefile index 9dec234..cbf8769 100755 --- a/tests/modules/testmod2/GNUmakefile +++ b/tests/modules/testmod2/GNUmakefile @@ -15,9 +15,20 @@ INCLUDE_CXXFLAGS = \ INCLUDE_LDFLAGS = \ -L$(TOPDIR)/src/libcrawler +ifeq ($(WITH_LUA),1) +INCLUDE_LDFLAGS += \ + -L$(TOPDIR)/src/libluaglue \ + -L$(TOPDIR)/src/libutil +endif + INCLUDE_LIBS = \ -lcrawler +ifeq ($(WITH_LUA),1) +INCLUDE_LIBS += \ + -lluaglue -lutil +endif + DYNAMIC_MODULE = \ mod_test2.so -- cgit v1.2.3-54-g00ecf