make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 6 Feb 2024 22:41:45 +0000 (22:41 +0000)
committerRaspbian forward porter <root@raspbian.org>
Tue, 6 Feb 2024 22:41:45 +0000 (22:41 +0000)
commit0cde9a926fa2f69217e585ff7e939ef282dfddd1
treee69a4aecab5bf320bb2aeb4d22ce94090a2874c4
parent739da10f847413a9fc1e28e49e8944e5a6a21296
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