summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 15:14:50 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-14 15:14:50 +0200
commit836de6564bd8e4eca422d2d9c691b1949107e102 (patch)
treef1adbea299f3c94e3e7bc6716cb1fdb700fef3f3 /tests
parent6032e79dc4c51fa4dc82751eab3bd0cdf0eac845 (diff)
downloadcrawler-836de6564bd8e4eca422d2d9c691b1949107e102.tar.gz
crawler-836de6564bd8e4eca422d2d9c691b1949107e102.tar.bz2
fixed linking of url/fetcher test (only links, doesn't run yet)
Diffstat (limited to 'tests')
-rw-r--r--tests/fetcher/GNUmakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/fetcher/GNUmakefile b/tests/fetcher/GNUmakefile
index 4c36ae6..a86768f 100644
--- a/tests/fetcher/GNUmakefile
+++ b/tests/fetcher/GNUmakefile
@@ -18,6 +18,13 @@ INCLUDE_LDFLAGS = \
-L$(TOPDIR)/src/liblogger \
-L$(TOPDIR)/libfetch
+ifeq ($(WITH_LUA),1)
+INCLUDE_LDFLAGS += \
+ -L$(TOPDIR)/src/libluaglue \
+ -L$(TOPDIR)/src/libutil \
+ $(TOLUA_LDFLAGS)
+endif
+
INCLUDE_LIBS = \
$(TOPDIR)/src/modules/urlnormalizer/simpleurl/libsimpleurlnormalizer.a \
$(TOPDIR)/src/modules/fetcher/libfetch/liblibfetchfetcher.a \
@@ -25,6 +32,14 @@ INCLUDE_LIBS = \
-llogger \
-lfetch
+ifeq ($(WITH_LUA),1)
+INCLUDE_LIBS += \
+ -lluaglue \
+ -lutil \
+ -llua \
+ $(TOLUA_LIBS)
+endif
+
# openssl
ifeq ($(WITH_SSL),1)