make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 6 Jul 2021 19:16:59 +0000 (20:16 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 6 Jul 2021 19:16:59 +0000 (20:16 +0100)
commitbaad5d914f21b579a83d60ca224544863f351454
tree289a338e9d6b4e6a3b85ffbf200c8d7fd6648d74
parentadee6e57c1c8430c48fcb79857c0e64712396345
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