make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 25 Aug 2024 18:16:17 +0000 (20:16 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sun, 25 Aug 2024 18:16:17 +0000 (20:16 +0200)
commitcb28baa3d19750aa028d8728094b3591c2863256
treeebbe715063ab0f428c1260c418884bfac91adce7
parent3d5608672a619fca7772f49d53a2f951377e8285
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