make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 28 Jan 2024 22:58:14 +0000 (23:58 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 28 Jan 2024 22:58:14 +0000 (23:58 +0100)
commit2be2135c2c19b1b2bbfc69bd0fc7e154a7ee28f5
tree2fd27fbf691f82490e95d76836955f670eed0b50
parente8c9b37fc2241af50359ffddc3d9967a88c6ede9
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