aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-19 22:58:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-19 22:58:51 +0000
commitf6e4badfe4146c732fd3a1529cf6b1b270ea6ea3 (patch)
treeed6edd9eb60964e1ab0eb874e7f71bc95c2a04b6 /toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch
parent7c2356e2a011efbc146bd20b8136a06ea0000620 (diff)
downloadupstream-f6e4badfe4146c732fd3a1529cf6b1b270ea6ea3.tar.gz
upstream-f6e4badfe4146c732fd3a1529cf6b1b270ea6ea3.tar.bz2
upstream-f6e4badfe4146c732fd3a1529cf6b1b270ea6ea3.zip
toolchain: Add glibc 2.22
Signed-off-by: Michael Marley <michael@michaelmarley.com> SVN-Revision: 48383
Diffstat (limited to 'toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch')
-rw-r--r--toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch b/toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch
new file mode 100644
index 0000000000..a6200f783b
--- /dev/null
+++ b/toolchain/glibc/patches/2.22/200-add-dl-search-paths.patch
@@ -0,0 +1,14 @@
+add /usr/lib to default search path for the dynamic linker
+
+--- a/Makeconfig
++++ b/Makeconfig
+@@ -501,6 +501,9 @@ else
+ 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)