make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 27 Aug 2022 11:38:11 +0000 (12:38 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 27 Aug 2022 11:38:11 +0000 (12:38 +0100)
commitb4f61d36c952bede6144f6f15db6ce1cee758ea1
treef7e277348dca48cdc967a665fa0164dc0034d42b
parente24b7f5713e6f61d2cebc20060cb8e644369c0a3
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