]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: avoid building executables that won't be installed
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 14 Apr 2023 16:10:58 +0000 (18:10 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 May 2023 10:29:41 +0000 (12:29 +0200)
commit9a01fe3906682eeb0fe29fb8ef9cadd1dff353e1
tree50f08d12932d054c0197537ff0ee25c76ba6bdb3
parentd9c8f075af486791319fde78b5d7248195b6e5e3
meson: avoid building executables that won't be installed

When executable() or custom_target() has install: that is conditional as is
false (i.e. not install:true), it won't be built by default. (build_by_default:
defaults to install:). But if that program is added to public_programs, it will
be build by default because it is pulled in by the test, effectively defeating
the disablement.

While at it, make 'ukify' follow the same pattern as 'kernel-install'.
They will be used later together.
meson.build