eglibc/2.16: add missing dl-search-paths patch

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34290
This commit is contained in:
Florian Fainelli 2012-11-21 20:26:47 +00:00
parent 10d30f2d2d
commit 426d806994

View file

@ -0,0 +1,14 @@
add /usr/lib to default search path for the dynamic linker
--- a/libc/Makeconfig
+++ b/libc/Makeconfig
@@ -539,6 +539,9 @@
default-rpath = $(libdir)
endif
+# Add /usr/lib to default search path for the dynamic linker
+user-defined-trusted-dirs := /usr/lib
+
ifndef link-extra-libs
link-extra-libs = $(LDLIBS-$(@F))
link-extra-libs-static = $(link-extra-libs)