make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 25 Aug 2025 19:11:05 +0000 (21:11 +0200)
commit2a72a326a69cc095d419f4de4c55d37dccdd379b
tree511cc852c1b60d5ec64c6889d2e26c634a5cb655
parentbf38282d4fe607a367669fa8826665e5905ad3f3
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