summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/patches/2.14/200-add_dl_search_path.patch')
-rw-r--r--toolchain/glibc/patches/2.14/200-add_dl_search_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch b/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch
new file mode 100644
index 0000000000..2f4a48f201
--- /dev/null
+++ b/toolchain/glibc/patches/2.14/200-add_dl_search_path.patch
@@ -0,0 +1,12 @@
+--- a/Makeconfig
++++ b/Makeconfig
+@@ -529,6 +529,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)