summaryrefslogtreecommitdiff
path: root/tests/fetcher/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fetcher/GNUmakefile')
-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)