make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 1 May 2021 20:56:06 +0000 (21:56 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 1 May 2021 20:56:06 +0000 (21:56 +0100)
commit56b387d7d1c006112266977c5dc22786e2ab4028
treed82d6fb23ab3814340c32232e16a1a655b213306
parentb4803db6112cbd7312b710927b3261e89478f75d
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