aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/CMakeLists.txt4
-rw-r--r--lib/client/librspamdclient.c (renamed from lib/librspamdclient.c)0
-rw-r--r--lib/client/librspamdclient.h (renamed from lib/librspamdclient.h)0
-rw-r--r--src/client/rspamc.c2
4 files changed, 3 insertions, 3 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index f84a70227..555c13a87 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -1,9 +1,9 @@
# Librspamdclient
-SET(LIBRSPAMDSRC librspamdclient.c ../src/mem_pool.c ../src/upstream.c ../src/printf.c)
+SET(LIBRSPAMDSRC client/librspamdclient.c ../src/mem_pool.c ../src/upstream.c ../src/printf.c)
ADD_LIBRARY(rspamdclient SHARED ${LIBRSPAMDSRC})
ADD_LIBRARY(rspamdclient_static STATIC ${LIBRSPAMDSRC})
-SET_TARGET_PROPERTIES(rspamdclient PROPERTIES PUBLIC_HEADER "librspamdclient.h")
+SET_TARGET_PROPERTIES(rspamdclient PROPERTIES PUBLIC_HEADER "client/librspamdclient.h")
IF(CMAKE_COMPILER_IS_GNUCC)
SET_TARGET_PROPERTIES(rspamdclient PROPERTIES COMPILE_FLAGS "-fno-strict-aliasing")
diff --git a/lib/librspamdclient.c b/lib/client/librspamdclient.c
index 55a9b13dc..55a9b13dc 100644
--- a/lib/librspamdclient.c
+++ b/lib/client/librspamdclient.c
diff --git a/lib/librspamdclient.h b/lib/client/librspamdclient.h
index 54695a34d..54695a34d 100644
--- a/lib/librspamdclient.h
+++ b/lib/client/librspamdclient.h
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index e548993a4..d91b8cdf0 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -23,7 +23,7 @@
*/
#include "config.h"
-#include "../../lib/librspamdclient.h"
+#include "../../lib/client/librspamdclient.h"
#define PRINT_FUNC printf