]> git.ipfire.org Git - thirdparty/git.git/commit
meson: add a couple missing networking dependencies
authorEli Schwartz <eschwartz@gentoo.org>
Fri, 25 Apr 2025 05:25:43 +0000 (01:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Apr 2025 16:35:55 +0000 (09:35 -0700)
commit5cb05d76af33367b061aec65113de06eaa39fc71
treedd3679e3a9cc6b6f716cca523006c1852541477e
parentf5e3c6c57d396ab85f7530c8d9675f74d1576f61
meson: add a couple missing networking dependencies

As evidenced in config.mak.uname and configure.ac, there are various
possible scenarios where these libraries are default-enabled in the
build, which mainly boils down to: SunOS. -lresolv is simply not the
only library that, when it exists, probably needs to be linked to for
networking.

Check for and add -lnsl -lsocket as well.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
meson.build