make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Fri, 8 Sep 2023 18:39:29 +0000 (19:39 +0100)
committerAurelien Jarno <aurel32@debian.org>
Fri, 8 Sep 2023 18:39:29 +0000 (19:39 +0100)
commit00f5b9e449f7e9fda4d03d4493672d83656bc05a
tree7047114fd754bd0e2466c5066ad21aecbee3fe85
parent66cadcba4b1e08019706f9e19fd620bbdd1e0690
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