aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc/patches/200-add-dl-search-paths.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-11 13:03:07 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-11 20:34:26 +0100
commitf4d9d7a26b40db14c5d6a87f19df55dfb9000170 (patch)
treea22afe8be4db566ea2db5fc34e49c5209b8a18ff /toolchain/glibc/patches/200-add-dl-search-paths.patch
parent657418db68fe2be89bdba2a147a08168d7a760ba (diff)
downloadupstream-f4d9d7a26b40db14c5d6a87f19df55dfb9000170.tar.gz
upstream-f4d9d7a26b40db14c5d6a87f19df55dfb9000170.tar.bz2
upstream-f4d9d7a26b40db14c5d6a87f19df55dfb9000170.zip
glibc: use default PATCH_DIR
Version configuration is gone, so version specific patch directories are not necessary either. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/glibc/patches/200-add-dl-search-paths.patch')
-rw-r--r--toolchain/glibc/patches/200-add-dl-search-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/glibc/patches/200-add-dl-search-paths.patch b/toolchain/glibc/patches/200-add-dl-search-paths.patch
new file mode 100644
index 0000000000..d65a0bcdd0
--- /dev/null
+++ b/toolchain/glibc/patches/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
+@@ -526,6 +526,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)