summaryrefslogtreecommitdiff
path: root/tests/modules/testmod/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/testmod/GNUmakefile
parentf5ad804ccd65de18924597e7b397b7b3748cea83 (diff)
downloadcrawler-6a2ee0a230b7c7957496ca61ee186901f1af427a.tar.gz
crawler-6a2ee0a230b7c7957496ca61ee186901f1af427a.tar.bz2
fixed module tests on Linux
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