make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 17 Oct 2023 12:00:24 +0000 (13:00 +0100)
commit89dac0c2ddc7d3f24287c4af9c1477bf5fab4219
tree4339738a49dcaed8b63bf12205506b6c8824e061
parent704cc48d45074cd4bbd943467df6669186fafd4e
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