make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 15 Feb 2022 11:21:20 +0000 (11:21 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 15 Feb 2022 11:21:20 +0000 (11:21 +0000)
commitfd289668fba3db535426040306efdf7d2d9c5aeb
treede37fe31609c29fbd2dd4dc907f7c7502ba74d68
parentf3ff5c54572b89dd06e8afbd20868fc802ea00df
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