make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 30 Jan 2024 18:20:04 +0000 (19:20 +0100)
commit4017d69f2b6febf5f950583a241156236993289a
tree5ac528c2dd979b3aa52ec76f13fda9e334cab137
parent8913fa5471e0c7e4b0498263e45d0443492dae6a
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c