make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 2 Oct 2023 20:22:57 +0000 (21:22 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 2 Oct 2023 20:22:57 +0000 (21:22 +0100)
commiteba9be1d0a465bb1baa98ed164ec53dfad233df8
tree0d0bd63d75e95ae74f8788f6dc2647040fdea0ce
parentf2b3afc83f45e6f97969a66b6412502d872fc27c
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