]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Don't define targets for standalone binaries if option is not enabled 37531/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 May 2025 11:08:50 +0000 (13:08 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 May 2025 12:05:58 +0000 (14:05 +0200)
commit19716312945cefff6196a141e468781f30d7aa6f
tree4acbbe4949cb06df242d897a6c610db875b5e0fe
parentcdd5fac06856a70ce0afea99cd7b3a2ca50314a0
meson: Don't define targets for standalone binaries if option is not enabled

These are built from the same sources as the regular binaries, so we
end up with the same sources multiple times in the compilation database
but with different command line arguments, which trips up tooling that
uses the compilation database. Let's not define the standalone targets if
the option is not enabled to avoid this problem.
meson.build
src/repart/meson.build
src/shutdown/meson.build
src/sysusers/meson.build
src/tmpfiles/meson.build