From: Zbigniew Jędrzejewski-Szmek Date: Thu, 27 Oct 2022 06:31:30 +0000 (+0200) Subject: meson: systemd-repart.standalone X-Git-Tag: v253-rc1~629 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c3e14a7d88e45ba18b4536519e86a1a55877b53;p=thirdparty%2Fsystemd.git meson: systemd-repart.standalone Repart is growing into an important tool on its own, and users might want to install newer versions on systems that have older systemd. Let's make this easier by providing a standalone binary. Related to https://github.com/systemd/mkosi/issues/1228. --- diff --git a/meson.build b/meson.build index f6db7559099..6b7fbc70518 100644 --- a/meson.build +++ b/meson.build @@ -3706,6 +3706,25 @@ if conf.get('ENABLE_REPART') == 1 install : true, install_dir : rootbindir) public_programs += exe + + if have_standalone_binaries + exe = executable( + 'systemd-repart.standalone', + systemd_repart_sources, + include_directories : includes, + c_args : '-DSTANDALONE', + link_with : [libshared_static, + libbasic, + libbasic_gcrypt, + libsystemd_static], + dependencies : [threads, + libblkid, + libfdisk, + libopenssl], + install_rpath : rootpkglibdir, + install : true, + install_dir : rootbindir) + endif endif executable(