]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: speed up building standalone binaries
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jul 2026 17:53:11 +0000 (02:53 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Jul 2026 11:51:03 +0000 (13:51 +0200)
commit944e1d3d8104fbad8a5dbe4e9248d6387afe19a1
tree900108ea05cd428ba501c578cfb8e671e1a98548
parent04e3d8933b2b61691e2352642536697464d97c41
meson: speed up building standalone binaries

Previously, files listed in 'sources' were built twice:
once when building the main binary, and again when building the
statically linked one.

This change ensures that all object files from the main binary are
reused when building the static binary. Hence, the only step now
necessary for the static binary is linking the object files.

Follow-up for 39d00e1d20717e56285795335fe3172fc24f3577.
meson.build