summaryrefslogtreecommitdiff
path: root/tests/modules/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 13:53:36 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 13:53:36 +0200
commit6a2ee0a230b7c7957496ca61ee186901f1af427a (patch)
treefd25aebdf95ab2121de1e2683ceb1e0eac8ac383 /tests/modules/GNUmakefile
parentf5ad804ccd65de18924597e7b397b7b3748cea83 (diff)
downloadcrawler-6a2ee0a230b7c7957496ca61ee186901f1af427a.tar.gz
crawler-6a2ee0a230b7c7957496ca61ee186901f1af427a.tar.bz2
fixed module tests on Linux
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) \