summaryrefslogtreecommitdiff
path: root/tests/modules/testmod3/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/testmod3/GNUmakefile')
-rwxr-xr-xtests/modules/testmod3/GNUmakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/modules/testmod3/GNUmakefile b/tests/modules/testmod3/GNUmakefile
index 13e1f9e..bdf9eba 100755
--- a/tests/modules/testmod3/GNUmakefile
+++ b/tests/modules/testmod3/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_test3.so