make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 14 Mar 2025 22:56:28 +0000 (23:56 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 14 Mar 2025 22:56:28 +0000 (23:56 +0100)
commit60fe5c3314f2c97e80b3e750005517c4da645fbb
tree3f9ca28fdd442d38cb81fedd0bd0906bfb7c9c18
parent03c4d05386371b9b62077ca69ec096bf80c945e2
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