make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 25 Aug 2022 17:16:34 +0000 (18:16 +0100)
commit2cfcea43ec3b5a68cc6df0c87d495568073e1fe0
treecd2215253ff0bf3380bdd635251e9d7d42a4f0aa
parent8eafa3cbb0ce1c1fcd1490e745b2f4c59a25e68b
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