make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 3 Jan 2025 10:56:38 +0000 (11:56 +0100)
commitf6b7fe45b717659c2cb1059307ef48e377d0d778
treec3f57123ba398e99502a67d44563b7b9c8aa7d55
parentf8e55da83f5efec7fb15fc44b0b8ffc784f09777
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