make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 7 Jan 2023 11:29:49 +0000 (11:29 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 7 Jan 2023 11:29:49 +0000 (11:29 +0000)
commit5c0f65014568d67b106e226f90363b5bf6188ee0
treeb3e0d3366301b16412bcfe6b23cd30b6f162004c
parent5afabae452df39ed781a749361b4a60b6201405c
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