aboutsummaryrefslogtreecommitdiffstats
path: root/src/json
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-07 19:06:09 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-07 19:06:09 +0400
commit73ded9877fc31f8c1ff5818b643edb7d7c4ea788 (patch)
tree97a94ceb14fb963a61d414f3d20d44541a533fdb /src/json
parenta44b10c0a88a70921f1eec9ced4b3ef0f0e01b4e (diff)
downloadrspamd-73ded9877fc31f8c1ff5818b643edb7d7c4ea788.tar.gz
rspamd-73ded9877fc31f8c1ff5818b643edb7d7c4ea788.zip
Avoid using global 'counters' hash, include it in struct rspamd_main.
Move worker related utils to separate file and include it in rspamd-mime library. Add some cross-dependencies.
Diffstat (limited to 'src/json')
-rw-r--r--src/json/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt
index 267fc0ea8..9b37384bb 100644
--- a/src/json/CMakeLists.txt
+++ b/src/json/CMakeLists.txt
@@ -7,6 +7,7 @@ SET(JSONSRC dump.c
value.c)
ADD_LIBRARY(rspamd-json ${LINK_TYPE} ${JSONSRC})
+TARGET_LINK_LIBRARIES(rspamd-json rspamd-util)
SET_TARGET_PROPERTIES(rspamd-json PROPERTIES VERSION ${RSPAMD_VERSION})
SET_TARGET_PROPERTIES(rspamd-json PROPERTIES COMPILE_FLAGS "-DRSPAMD_LIB")
INSTALL(TARGETS rspamd-json