make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 17 Mar 2022 21:37:00 +0000 (21:37 +0000)
committerAurelien Jarno <aurel32@debian.org>
Thu, 17 Mar 2022 21:37:00 +0000 (21:37 +0000)
commitc38654fcb62e77508958cbf30537c5ce6364d6fc
tree64640bf54dd56c3486979cf64de1f6592f94be01
parent270e5108757fb39211d44085135b1ff9be020f2b
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