make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 23 Jul 2024 17:09:58 +0000 (19:09 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 23 Jul 2024 17:09:58 +0000 (19:09 +0200)
commit22afcd39a3bf61095f6ceeddb05e7825088e8b39
treea1f22a5ae1a685986e3b18f3c16673a6e5ca37ac
parentbc63bc7a0afdbcd8b493bab7e212580e7491d22e
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