summaryrefslogtreecommitdiff
path: root/tests/modules/testmod/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/testmod/GNUmakefile')
-rwxr-xr-xtests/modules/testmod/GNUmakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/modules/testmod/GNUmakefile b/tests/modules/testmod/GNUmakefile
index 0e95bca..c2dd277 100755
--- a/tests/modules/testmod/GNUmakefile
+++ b/tests/modules/testmod/GNUmakefile
@@ -14,9 +14,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_test.so