1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

Merge e95944cc22823a4ab585bb1ef21c0c5b760073c2 into fdab24bf6acc62d3011f9b5abdf834b4886642b2

This commit is contained in:
James Hilliard 2025-03-13 06:25:39 +01:00 committed by GitHub
commit 1beecdd9d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,8 @@ option('link-journalctl-shared', type: 'boolean',
description : 'link journalctl against libsystemd-shared.so')
option('link-boot-shared', type: 'boolean',
description : 'link bootctl and systemd-bless-boot against libsystemd-shared.so')
option('link-busctl-shared', type: 'boolean',
description : 'link busctl against libsystemd-shared.so')
option('link-portabled-shared', type: 'boolean',
description : 'link systemd-portabled and its helpers to libsystemd-shared.so')
option('first-boot-full-preset', type: 'boolean', value: false,

View File

@ -5,11 +5,19 @@ busctl_sources = files(
'busctl.c',
)
if get_option('link-busctl-shared')
busctl_link_with = [libshared]
else
busctl_link_with = [libsystemd_static,
libshared_static]
endif
executables += [
executable_template + {
'name' : 'busctl',
'public' : true,
'sources' : busctl_sources,
'link_with' : busctl_link_with,
},
test_template + {
'sources' : files(