make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Wed, 26 Jan 2022 22:01:02 +0000 (22:01 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 26 Jan 2022 22:01:02 +0000 (22:01 +0000)
commite6ee941c806dabe350d24d3a3d4b7cb5e2243af8
tree349eceadb344fe28ad4dc63ed6866850e275ad5e
parent2b3b97d9e8f9ef9de48bd83d218a4efbab14e978
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