summaryrefslogtreecommitdiffstats
path: root/src/journal-remote
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-09-30 12:08:23 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-02 03:52:45 +0200
commitf7b349e88dbbf8c0d462e53f3409743e828a44f2 (patch)
tree2a8e59dfd6b2501f5e466b49a8fd8871789908db /src/journal-remote
parentjournald: move and rename journal/managed-journal-file.[ch] -> shared/journal... (diff)
downloadsystemd-f7b349e88dbbf8c0d462e53f3409743e828a44f2.tar.xz
systemd-f7b349e88dbbf8c0d462e53f3409743e828a44f2.zip
journal-remote: drop dependencies to journald
Now journal-remote can be built without libjournal_core.
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote-parse.c1
-rw-r--r--src/journal-remote/journal-remote.c1
-rw-r--r--src/journal-remote/meson.build5
3 files changed, 1 insertions, 6 deletions
diff --git a/src/journal-remote/journal-remote-parse.c b/src/journal-remote/journal-remote-parse.c
index 26e2009e14..e23012c472 100644
--- a/src/journal-remote/journal-remote-parse.c
+++ b/src/journal-remote/journal-remote-parse.c
@@ -3,7 +3,6 @@
#include "alloc-util.h"
#include "fd-util.h"
#include "journal-remote-parse.h"
-#include "journald-native.h"
#include "parse-util.h"
#include "string-util.h"
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 06be2d08e2..79010d0482 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -17,7 +17,6 @@
#include "journal-file-util.h"
#include "journal-remote-write.h"
#include "journal-remote.h"
-#include "journald-native.h"
#include "macro.h"
#include "parse-util.h"
#include "parse-helpers.h"
diff --git a/src/journal-remote/meson.build b/src/journal-remote/meson.build
index fe766dbb01..4251624864 100644
--- a/src/journal-remote/meson.build
+++ b/src/journal-remote/meson.build
@@ -20,8 +20,7 @@ endif
libsystemd_journal_remote = static_library(
'systemd-journal-remote',
libsystemd_journal_remote_sources,
- include_directories : journal_includes,
- link_with : libjournal_core,
+ include_directories : includes,
dependencies : [libgnutls,
liblz4,
libmicrohttpd,
@@ -64,7 +63,6 @@ executables += [
'HAVE_MICROHTTPD',
],
'sources' : systemd_journal_remote_sources,
- 'include_directories' : journal_includes,
'link_with' : [
libshared,
libsystemd_journal_remote,
@@ -87,7 +85,6 @@ executables += [
libshared,
libsystemd_journal_remote,
],
- 'include_directories' : journal_includes,
},
]