make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 6 May 2024 20:34:15 +0000 (22:34 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 6 May 2024 20:34:15 +0000 (22:34 +0200)
commitfaadab82cb7aeb9eabd51bb22d906aa9b92f06ed
treed4dc4f7a5163388c2790b8bc9c28d82b61c650f9
parent811f14c3bc00d1b981af433ec4023cefbbcbac35
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