summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
-rw-r--r--test/rspamd_http_test.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 0684a6026..99c825199 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -17,10 +17,13 @@ ADD_EXECUTABLE(rspamd-test EXCLUDE_FROM_ALL ${TESTSRC})
SET_TARGET_PROPERTIES(rspamd-test PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(rspamd-test PROPERTIES COMPILE_FLAGS "-DRSPAMD_TEST")
+TARGET_LINK_LIBRARIES(rspamd-test rspamd-stat)
TARGET_LINK_LIBRARIES(rspamd-test rspamd-mime)
TARGET_LINK_LIBRARIES(rspamd-test rspamd-server)
TARGET_LINK_LIBRARIES(rspamd-test rspamd-util)
TARGET_LINK_LIBRARIES(rspamd-test rspamd-lua)
+TARGET_LINK_LIBRARIES(rspamd-test rspamd-cryptobox)
+TARGET_LINK_LIBRARIES(rspamd-test stemmer)
TARGET_LINK_LIBRARIES(rspamd-test event)
IF(HAVE_LIBEVENT2)
diff --git a/test/rspamd_http_test.c b/test/rspamd_http_test.c
index 581a4c284..cdcfef967 100644
--- a/test/rspamd_http_test.c
+++ b/test/rspamd_http_test.c
@@ -27,6 +27,7 @@
#include "http.h"
#include "tests.h"
#include "ottery.h"
+#include "cryptobox.h"
static const int file_blocks = 8;
static const int pconns = 100;