make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Wed, 31 Mar 2021 20:09:32 +0000 (21:09 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 31 Mar 2021 20:09:32 +0000 (21:09 +0100)
commit51785e8258d358d45b465dbd52731fe9df15d873
treedecbc019e07c2d64c40a9237370097cddfe477c4
parent4693bd568bd9edc8187a96f9f65e9ea5c30f556e
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