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

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

SVN-Revision: 34290
lede-17.01
Florian Fainelli 2012-11-21 20:26:47 +00:00
parent 10d30f2d2d
commit 426d806994
1 changed files with 14 additions and 0 deletions

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)