]> git.ipfire.org Git - thirdparty/systemd.git/commit
Merge shared/exec-directory-util.? into basic/unit-def.?
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Jul 2025 10:09:31 +0000 (12:09 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Jul 2025 10:57:33 +0000 (12:57 +0200)
commitc1794666162e653e010acbb0963191de1d293608
tree299ad657ee98bbde40d102e20621361bb1527a21
parentf283459b9f44538a046bfa0cfd43ef6c1a1546aa
Merge shared/exec-directory-util.? into basic/unit-def.?

Suggested in
https://github.com/systemd/systemd/pull/35892#discussion_r2180322856.

This is a tiny amount of code and does not warrant having a separate file
and spawning a separate instance of the compiler during the build.

Note: it took me a while to confirm that the contents of that table and
function don't end up in libsystemd.so. The issue is that they _are_ present in
it, unless LTO is used. We actually use link_whole[libbasic_static] for
libsystemd, so we end up with all that code there. LTO is needed to clean
that up.
src/basic/unit-def.c
src/basic/unit-def.h
src/core/execute.h
src/shared/exec-directory-util.c [deleted file]
src/shared/exec-directory-util.h [deleted file]
src/shared/meson.build
src/systemctl/systemctl-show.c