1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 20:23:53 +02:00

base-files: fix ldd definition if /usr/bin/ldd exists

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42976
This commit is contained in:
Felix Fietkau 2014-10-19 21:46:08 +00:00
parent f2a4294ab5
commit 0ef474a118

View File

@ -2,7 +2,7 @@
RAM_ROOT=/tmp/root
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
libs() { ldd $* | awk '{print $3}'; }
install_file() { # <file> [ <file> ... ]