make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 10 Jun 2024 20:25:19 +0000 (22:25 +0200)
committerSamuel Thibault <sthibault@debian.org>
Mon, 10 Jun 2024 20:25:19 +0000 (22:25 +0200)
commit8dd793f4afe33c4d22317e72247b31ed5c2aba26
tree1e9f6c147ffe9cbe6c934ba3735931b3d324c776
parentd586166d01327c6a062be0c040a82e05bd4dc5eb
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