make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 1 Nov 2024 12:42:20 +0000 (13:42 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 1 Nov 2024 12:42:20 +0000 (13:42 +0100)
commitec8825135e217a4b0c71f5ec2a1e8a5ba667dce5
treec992d500b2bb6012ac5ebce1a8437abe91c09f2b
parent9271bab297a0097397b608d3f98a5e5be4d1497b
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