summaryrefslogtreecommitdiffstats
path: root/src/sysusers
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-06-25 20:28:32 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-01 14:37:31 +0200
commit6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41 (patch)
tree4019e294d1d46c71d7c0050b10b14bcbf45bdfcd /src/sysusers
parentmeson: move declarations of busctl, stdio-bridge, and run (diff)
downloadsystemd-6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41.tar.xz
systemd-6fab49e4ff0dff684b60e8ec0bd3544f9cb38f41.zip
meson: move declarations of hwdb, sysusers, and tmpfiles
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/meson.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/sysusers/meson.build b/src/sysusers/meson.build
new file mode 100644
index 0000000000..fcb291d02c
--- /dev/null
+++ b/src/sysusers/meson.build
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+executables += [
+ executable_template + {
+ 'name' : 'systemd-sysusers',
+ 'public' : true,
+ 'conditions' : ['ENABLE_SYSUSERS'],
+ 'sources' : files('sysusers.c'),
+ },
+ executable_template + {
+ 'name' : 'systemd-sysusers.standalone',
+ 'public' : have_standalone_binaries,
+ 'conditions' : ['ENABLE_SYSUSERS'],
+ 'sources' : files('sysusers.c'),
+ 'c_args' : '-DSTANDALONE',
+ 'link_with' : [
+ libbasic,
+ libbasic_gcrypt,
+ libshared_static,
+ libsystemd_static,
+ ],
+ 'build_by_default' : have_standalone_binaries,
+ 'install' : have_standalone_binaries,
+ },
+]