make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 5 Aug 2025 17:34:49 +0000 (19:34 +0200)
committerAurelien Jarno <aurel32@debian.org>
Tue, 5 Aug 2025 17:34:49 +0000 (19:34 +0200)
commit852b6c2a5d24cd6a168cd4ea981aad514707b650
tree14873451ef7e251775faa33cfd69252886ed2377
parentff06d0d2b770f3d35ac53f3300f14f4ce754c6e9
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