]> git.ipfire.org Git - thirdparty/git.git/commit
meson: introduce `libgit_curl` dependency
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:15 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:35 +0000 (09:09 -0800)
commitdfc88bd6477bc6c1d2a9eb29a859ebf11a0a351d
tree61360168a254f4d713adb6f2979d5fae60f220e4
parentebb35369f1aea0e829a2e13531316a34d8f2e354
meson: introduce `libgit_curl` dependency

We've got a set of common source files that we use for those executables
that link against libcurl. The setup is somewhat repetitive though.
Simplify it by declaring a `libgit_curl` dependency that bundles all of
it together.

Note that we don't include curl itself as a dependency. This is because
we already pull it in transitively via the libgit dependency, which is
unfortunate because libgit itself shouldn't actually link against curl
in the first place. This will get fixed in the next commit.

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