make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 16 Sep 2023 09:12:43 +0000 (10:12 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 16 Sep 2023 09:12:43 +0000 (10:12 +0100)
commitf5de4bb3da4216ed0bfe769dfa92816fc9541d5d
tree275267c44387b55c1044055cb1642c26f1a00a83
parent8921cf0e5245d6a31c2197da41a2e391e4ab702c
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