slitaz-base-files diff rootfs/usr/bin/ldd @ rev 295

ldd: libraries support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 14 12:33:17 2016 +0100 (2016-01-14)
parents 967cede25fb4
children c18bf4a1a64c
line diff
     1.1 --- a/rootfs/usr/bin/ldd	Thu Dec 24 10:30:54 2015 +0100
     1.2 +++ b/rootfs/usr/bin/ldd	Thu Jan 14 12:33:17 2016 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  #!/bin/sh
     1.5  #
     1.6  # Tiny ldd fake.
     1.7 -# Copyright (C) 2010-2015 SliTaz GNU/Linux.
     1.8 +# Copyright (C) 2010-2016 SliTaz GNU/Linux.
     1.9  #
    1.10  
    1.11  echo
    1.12 @@ -12,6 +12,6 @@
    1.13  		*) [ -f "./$file" ] && file="./$file"
    1.14  	esac
    1.15  	which "$file" | sed 's%^./%%;s%$%:%'
    1.16 -	LD_TRACE_LOADED_OBJECTS=1 "$file"
    1.17 +	LD_TRACE_LOADED_OBJECTS=1 /lib/ld-linux* "$file"
    1.18  	echo
    1.19  done