make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 2 Oct 2022 17:46:25 +0000 (18:46 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 2 Oct 2022 17:46:25 +0000 (18:46 +0100)
commit7b67e8a50c5f006b3dc528118bb45375743afa9c
tree9498c889a0b783dcfcd96eebb00fa215a8970b03
parent9b181deaed38ac5f955dde2bd9578f12301e1b93
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