make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 28 Nov 2022 21:26:50 +0000 (21:26 +0000)
committerAurelien Jarno <aurel32@debian.org>
Mon, 28 Nov 2022 21:26:50 +0000 (21:26 +0000)
commitea338fdd903a7d95d6ef36ea97346f4db6327039
treeaa4f96696b9780511c1aea635bba8075bffdb9c9
parent98b8e02df1d0cd22d2ab25562b7c26814aa05e77
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