make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 4 Aug 2023 09:55:58 +0000 (10:55 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 4 Aug 2023 09:55:58 +0000 (10:55 +0100)
commitdfd2e69b54d5cfbf4c3671c336fcad41cb8b8b34
tree798d952a64ec43296eaa3f33ef80286d298b46c7
parent04fff77f97a53a51e2291de9cc1f9d9dbd835282
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