make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Mon, 10 Apr 2023 08:35:16 +0000 (09:35 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 10 Apr 2023 08:35:16 +0000 (09:35 +0100)
commitf10ca118c085c0c9fdb7a2ed563b4ce42336f224
tree1d8aa56a5eab186a0e58c5f7aaf87d5d7759b508
parent508cdeabd5c7467731d7a14c09ea443d0a28f81a
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