base-files: fix detection of standalone ldd
authorFlorian Fainelli <florian@openwrt.org>
Fri, 27 Jul 2012 15:35:00 +0000 (15:35 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 27 Jul 2012 15:35:00 +0000 (15:35 +0000)
When standalone ldd is selected in config the binary is installed in /usr/bin/ldd.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 32891

package/base-files/Makefile
package/base-files/files/etc/profile

index 67e17111cf4237599945349ee54cd693a0a3bb54..a9102104bf09b5af484b0c80a5d532c9b0b8d939 100644 (file)
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
 include $(INCLUDE_DIR)/version.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=111
+PKG_RELEASE:=112
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 PKG_BUILD_DEPENDS:=opkg/host
index 4bdfa5787a3254ed684f3e0368c150207a3d78f0..282a747e5248760901e4ddbfc392c7a14ca6ff7d 100644 (file)
@@ -12,4 +12,4 @@ export PS1='\u@\h:\w\$ '
 [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
 
 [ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
-[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
+[ -z /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }