summaryrefslogtreecommitdiff
path: root/tests/typedetect/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typedetect/GNUmakefile')
-rw-r--r--tests/typedetect/GNUmakefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/typedetect/GNUmakefile b/tests/typedetect/GNUmakefile
index 2455556..793e110 100644
--- a/tests/typedetect/GNUmakefile
+++ b/tests/typedetect/GNUmakefile
@@ -20,6 +20,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/typedetect/libmagic/liblibmagictypedetect.a \
-lmagic \
@@ -30,6 +37,14 @@ INCLUDE_LIBS = \
-lcrawler \
-llogger
+ifeq ($(WITH_LUA),1)
+INCLUDE_LIBS += \
+ -lluaglue \
+ -lutil \
+ -llua \
+ $(TOLUA_LIBS)
+endif
+
# openssl
ifeq ($(WITH_SSL),1)