make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 15 Mar 2022 22:48:49 +0000 (22:48 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 15 Mar 2022 22:48:49 +0000 (22:48 +0000)
commit68cc7bd47ac7c252079779d87ef617457d8071e0
tree7a5b4997929b8d8d230aad49fcd60e72e2892bde
parente2e8cbb55483964a45db8aedcfa28d8cd4a3a953
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