slitaz-base-files rev 320

ldd: /lib64 support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 12 10:08:38 2017 +0100 (2017-01-12)
parents d2eb2256e8f5
children 0eb16ee2fcc2
files rootfs/usr/bin/ldd
line diff
     1.1 --- a/rootfs/usr/bin/ldd	Tue Jan 10 12:37:16 2017 +0100
     1.2 +++ b/rootfs/usr/bin/ldd	Thu Jan 12 10:08:38 2017 +0100
     1.3 @@ -9,6 +9,6 @@
     1.4  	file="$(which "$file")"
     1.5  	ld="$(sed '/\/lib.*\/ld/!dq' "$file")"
     1.6  	echo "$file" | sed 's%^./%%;s%$%:%'
     1.7 -	LD_TRACE_LOADED_OBJECTS=1 "$ld" "$file"
     1.8 +	LD_TRACE_LOADED_OBJECTS=1 "${ld:-/lib/ld-linux*}" "$file"
     1.9  	echo
    1.10  done