aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/eglibc/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-21 20:26:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-21 20:26:47 +0000
commit426d8069948fddd555b7d6096e4fb45ecfea2665 (patch)
treed36992d24df1b71f847bb9af5a882a4622a70c68 /toolchain/eglibc/patches
parent10d30f2d2dda1298e07ad0fe04f214ed2ad0a4ee (diff)
downloadupstream-426d8069948fddd555b7d6096e4fb45ecfea2665.tar.gz
upstream-426d8069948fddd555b7d6096e4fb45ecfea2665.tar.bz2
upstream-426d8069948fddd555b7d6096e4fb45ecfea2665.zip
eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34290
Diffstat (limited to 'toolchain/eglibc/patches')
-rw-r--r--toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch b/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch
new file mode 100644
index 0000000000..70e7e604de
--- /dev/null
+++ b/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)