make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 25 Dec 2022 18:42:32 +0000 (18:42 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 25 Dec 2022 18:42:32 +0000 (18:42 +0000)
commitdb984c584bd6655263e3e1d92333fe73fdc868a5
tree6059ddfa2d99acfcf153bb9f9f9713e537076b5a
parent92341f9501652ce88587000ead138c84694af118
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