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

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

SVN-Revision: 34290
master
Florian Fainelli 12 years ago
parent 10d30f2d2d
commit 426d806994
  1. 14
      toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch

@ -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)
Loading…
Cancel
Save