make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 1 Jun 2024 21:16:35 +0000 (23:16 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sat, 1 Jun 2024 21:16:35 +0000 (23:16 +0200)
commit8183bb65a7b64d87c196b17ba5d39eb96b34a223
tree9ce0a53a8bf77be7e9ceb6b8ca09ea819851c2df
parent27f419b9e79ba3a85c311e33bb387aca5bda3ed4
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