make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 15 Aug 2024 09:10:46 +0000 (11:10 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 15 Aug 2024 09:10:46 +0000 (11:10 +0200)
commitb4395f768dd21571d48dfc0448a30d3d44b73694
tree87fd94f9afd3e314031a25b68b3341fa6bfd6bc3
parentc4d0a985f068767d7d0c0633e7324d8e9d175532
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