make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 13 Jul 2023 18:07:47 +0000 (19:07 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 13 Jul 2023 18:07:47 +0000 (19:07 +0100)
commit8931e75e87ec74e47b0684f8fdd907a3efb9cb9e
treec5abd4fdf09158285088139cf4d7334bdf20d89b
parentad7845d36705308b060d9ce4b068dc90cf55088a
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