From 3195575d366ffb8ceeb65296bcc29b1a514013cf Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 3 Apr 2007 22:50:27 +0000 Subject: Add ldd and ldconfig support, template packages derived from gcc and uclibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/etc') diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index aee0de2b8..c5d7e0258 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -10,5 +10,5 @@ alias more=less [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc arp() { cat /proc/net/arp; } -ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } +[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; } -- cgit v1.2.3