make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 17 Jul 2025 11:21:32 +0000 (13:21 +0200)
commit76a0a32ebb1d4debec8dc8ce30a7610e162fd246
tree3104d5c8e16a810a6c62798671a892551cd41261
parent7da30a91acd5b2e0782d52c6d4dbc27130f7788d
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