]> git.ipfire.org Git - thirdparty/git.git/commit
Linux: link against libdl
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 9 Apr 2026 22:44:33 +0000 (22:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Apr 2026 00:25:36 +0000 (17:25 -0700)
commit30e6f7adf626af926a02897294363dbf5f3bbe65
tree87e4e45a5e097581f075d04f8fee4b7fa3e07edb
parent40c789dfc250486e60b7d7cdba47d8423a754abf
Linux: link against libdl

Older versions of Rust on Linux, such as that used in Debian 11 in our
CI, require linking against libdl.  Were we linking with Cargo, this
would be included automatically, but since we're not, explicitly set it
in the system-specific config.

This library is part of libc, so linking against it if it happens to be
unnecessary will add no dependencies to the resulting binary.  In
addition, it is provided by both glibc and musl, so it should be
portable to almost all Linux systems.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname