diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-30 00:14:57 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-30 00:14:57 +0400 |
commit | 40fbda609fb6c8f8c6346ad22ddc639828bdd88c (patch) | |
tree | 80e9da15fc0442dda1db3c3b5b807787fa6073a8 /src | |
parent | 83c86d02878f6fbbc234110c2fce321036b19634 (diff) | |
download | rspamd-40fbda609fb6c8f8c6346ad22ddc639828bdd88c.tar.gz rspamd-40fbda609fb6c8f8c6346ad22ddc639828bdd88c.zip |
Another fix for out-source build.
Unbreak FreeBSD build.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/json/hashtable.c | 2 | ||||
-rw-r--r-- | src/json/hashtable.h | 2 | ||||
-rw-r--r-- | src/json/strbuffer.c | 2 | ||||
-rw-r--r-- | src/json/utf.c | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index 1f2a50b09..37ca91043 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -5,6 +5,7 @@ ADD_EXECUTABLE(rspamc ${RSPAMCSRC}) SET_TARGET_PROPERTIES(rspamc PROPERTIES COMPILE_FLAGS "-I${CMAKE_SOURCE_DIR}/lib") TARGET_LINK_LIBRARIES(rspamc rspamdserver) TARGET_LINK_LIBRARIES(rspamc rspamdclient) +TARGET_LINK_LIBRARIES(rspamc pcre) TARGET_LINK_LIBRARIES(rspamc ${CMAKE_REQUIRED_LIBRARIES}) TARGET_LINK_LIBRARIES(rspamc ${GLIB2_LIBRARIES}) SET_TARGET_PROPERTIES(rspamc PROPERTIES VERSION ${RSPAMD_VERSION}) diff --git a/src/json/hashtable.c b/src/json/hashtable.c index 14a59aff1..92d83eea1 100644 --- a/src/json/hashtable.c +++ b/src/json/hashtable.c @@ -5,7 +5,7 @@ * it under the terms of the MIT license. See LICENSE for details. */ -#include "../config.h" +#include "config.h" #include "hashtable.h" typedef struct hashtable_list list_t; diff --git a/src/json/hashtable.h b/src/json/hashtable.h index 30e52daa8..35196b0c0 100644 --- a/src/json/hashtable.h +++ b/src/json/hashtable.h @@ -8,7 +8,7 @@ #ifndef HASHTABLE_H #define HASHTABLE_H -#include "../config.h" +#include "config.h" typedef unsigned int (*key_hash_fn)(const void *key); typedef int (*key_cmp_fn)(const void *key1, const void *key2); diff --git a/src/json/strbuffer.c b/src/json/strbuffer.c index b6afcc248..1ae336d3d 100644 --- a/src/json/strbuffer.c +++ b/src/json/strbuffer.c @@ -5,7 +5,7 @@ * it under the terms of the MIT license. See LICENSE for details. */ -#include "../config.h" +#include "config.h" #include "strbuffer.h" #include "util.h" diff --git a/src/json/utf.c b/src/json/utf.c index b02630812..7635bef8a 100644 --- a/src/json/utf.c +++ b/src/json/utf.c @@ -5,7 +5,7 @@ * it under the terms of the MIT license. See LICENSE for details. */ -#include "../config.h" +#include "config.h" int utf8_encode (int codepoint, char *buffer, int *size) |