make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 8 Oct 2022 15:53:16 +0000 (16:53 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 8 Oct 2022 15:53:16 +0000 (16:53 +0100)
commit3e0d0307fdaaf3c24f8b162bd92c0eef9e1bd92c
tree72e294b4a9dae3b181ed5e3dbe7700d008a976b6
parentf5a845af726010e6a5c1a7cd29322eb2c75a4c60
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