make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 20 Mar 2021 23:38:37 +0000 (23:38 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 20 Mar 2021 23:38:37 +0000 (23:38 +0000)
commit9528f51516ee0f3b02be0db8f70737c05e61d2fa
treef41df9aa568d21f14ed9adc955e5ebebabf3cc22
parent01572cd08f643b90cf6b567ce34fe495ec242b3f
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