]> git.ipfire.org Git - thirdparty/git.git/commit
meson: inline the static 'git' library
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:13 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:35 +0000 (09:09 -0800)
commitce9432889c4720345e4e1985db1b18db6add64ce
tree7dad1a7b128b6f54fd39392a4b3045fee37242c5
parent6128301075c90ac1d25badcc29771d1547fdf80f
meson: inline the static 'git' library

When setting up `libgit.a` we first create the static library itself,
and then declare it as part of a dependency such that compile arguments,
include directories and transitive dependencies get propagated to the
users of that library. As such, the static library isn't expected to be
used by anything but the declared dependency.

Inline the static library so that we don't even use a separate variable
for it. This avoids any kind of confusion that may arise and clarifies
how the library is supposed to be used.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
meson.build