make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 30 Sep 2023 08:31:05 +0000 (09:31 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 30 Sep 2023 08:31:05 +0000 (09:31 +0100)
commitac3af5a50e9080ee2337ed5ecace477c14bc9c9d
treecaa7ce53514f7995db253e795f658b52b354b607
parentd8ee98e06809ee0df1e49dda68b64d463ee293be
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