make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 30 Apr 2024 21:07:28 +0000 (23:07 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 30 Apr 2024 21:07:28 +0000 (23:07 +0200)
commitd105f07a5f2156e58fc0e03e6e37cdd431e22bb0
tree2a7769545e067f3f99cf7905e2f62944794b4b3d
parenta2ffff95ac2d7dea4979d80830043d11124bfc91
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