make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 3 Dec 2023 13:23:52 +0000 (14:23 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 3 Dec 2023 13:23:52 +0000 (14:23 +0100)
commite5f3d8b9ae792a834291c29122b3fe063af687bf
tree360a58683db409fbe29edc84071bd933cbebcae4
parentd4fb87be3f1efd8892cbbfe842d025c91cfee40c
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