make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 10 Oct 2020 19:54:24 +0000 (20:54 +0100)
commitc906b792a45b707a6c4294dfabb097b0795daafb
tree6edf352487966f083393cfd05d8f069aad2e3f5d
parentcb47ac602f547c14c2825de08ae46273ed9e9d46
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