]> git.ipfire.org Git - thirdparty/git.git/commit
meson: stop linking libcurl into all executables
authorPatrick Steinhardt <ps@pks.im>
Wed, 26 Feb 2025 08:22:16 +0000 (09:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Feb 2025 17:09:35 +0000 (09:09 -0800)
commitf5fac42e07cc7152ee29d656c8af6dbfb10e92e4
tree7c785ba1b1018e58ae1952dfb7c036c72bf0c7c0
parentdfc88bd6477bc6c1d2a9eb29a859ebf11a0a351d
meson: stop linking libcurl into all executables

We set up libcurl via the `libgit_dependencies` variable, which gets
propagated into every user of the `libgit` dependency. This is not
necessary though, as most of our executables aren't even supposed to
link against libcurl.

Fix this by only propagating include directories as a libgit dependency
and propagating the full curl dependency via `libgit_curl`.

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