summaryrefslogtreecommitdiff
path: root/tests/modules/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/GNUmakefile')
-rwxr-xr-xtests/modules/GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/modules/GNUmakefile b/tests/modules/GNUmakefile
index 2c4aac9..0048fd6 100755
--- a/tests/modules/GNUmakefile
+++ b/tests/modules/GNUmakefile
@@ -16,6 +16,12 @@ INCLUDE_LIBS = \
$(TOPDIR)/src/libcrawler/libcrawler.a \
-llogger -lcommon
+ifeq ($(WITH_LUA),1)
+INCLUDE_LDFLAGS += \
+ $(TOPDIR)/src/libluaglue/libluaglue.a \
+ $(TOLUA_LDFLAGS)
+endif
+
TEST_CPP_BINS = \
test1$(EXE) \
test2$(EXE) \