make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 19 Apr 2023 21:17:51 +0000 (22:17 +0100)
commit59c498763b7b70ed1bb49669bafce8963e4e3f4a
tree4c3fa0ab5363833cf3745c141752cd529023b540
parent11a89904f9b5a5d08fd1f1efb9ea1788e057482f
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