make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 1 Dec 2020 07:42:44 +0000 (07:42 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 1 Dec 2020 07:42:44 +0000 (07:42 +0000)
commit654ae7e585f0000a9d6c57f73702d3a557c01f78
tree208c1c271f3cda81fe5b1338ed4068b550f5dca4
parent52d9806141c3fabd8ced9bf72c918f83a343d252
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