From 55944e5e40b1be2afc4855d8d2baf4b73d1876b5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:52 +0200 Subject: Adding upstream version 255.4. Signed-off-by: Daniel Baumann --- src/tmpfiles/meson.build | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/tmpfiles/meson.build (limited to 'src/tmpfiles/meson.build') diff --git a/src/tmpfiles/meson.build b/src/tmpfiles/meson.build new file mode 100644 index 0000000..8a24a21 --- /dev/null +++ b/src/tmpfiles/meson.build @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +systemd_tmpfiles_sources = files( + 'tmpfiles.c', + 'offline-passwd.c', +) + +executables += [ + executable_template + { + 'name' : 'systemd-tmpfiles', + 'public' : true, + 'conditions' : ['ENABLE_TMPFILES'], + 'sources' : systemd_tmpfiles_sources, + 'dependencies' : libacl, + }, + executable_template + { + 'name' : 'systemd-tmpfiles.standalone', + 'public' : have_standalone_binaries, + 'conditions' : ['ENABLE_TMPFILES'], + 'sources' : systemd_tmpfiles_sources, + 'c_args' : '-DSTANDALONE', + 'link_with' : [ + libbasic, + libbasic_gcrypt, + libshared_static, + libsystemd_static, + ], + 'dependencies' : libacl, + 'build_by_default' : have_standalone_binaries, + 'install' : have_standalone_binaries, + }, + test_template + { + 'sources' : files( + 'test-offline-passwd.c', + 'offline-passwd.c', + ), + }, +] -- cgit v1.2.3