]> git.ipfire.org Git - thirdparty/util-linux.git/commit
whereis: include native multiarch path in lib search paths
authorAndreas Henriksson <andreas@fatal.se>
Sun, 30 Jul 2017 17:52:17 +0000 (19:52 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Jul 2017 11:48:04 +0000 (13:48 +0200)
commitc9ab7387066940d7599a2e5d79d56405195d5f4e
tree8bc14075b0ad8df5cc953d6a0b842713c688e20c
parentd52eb4bd9062081c8420b22c029c694f29d036c7
whereis: include native multiarch path in lib search paths

This includes atleast the native multiarch path in the paths to search.
(Maybe also other multiarch paths should also be searched? But atleast
this is a first step.)

Before this change (on Debian):
$ whereis libc
libc: /usr/share/man/man7/libc.7.gz

After this change:
$ whereis libc
libc: /usr/lib/x86_64-linux-gnu/libc.so /usr/lib/x86_64-linux-gnu/libc.a /usr/share/man/man7/libc.7.gz

Addresses: https://bugs.debian.org/856968
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
configure.ac
misc-utils/whereis.c