make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 3 Oct 2023 17:14:06 +0000 (18:14 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 3 Oct 2023 17:14:06 +0000 (18:14 +0100)
commit0e6899ba28275419075515245000c28d6f7ecc41
tree77a45dc67dddaf9b3f0ebd9ee5b5dc372125c6e5
parent2705be6a8403d791fb6a5a3dc42b2a6c67b2c149
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