From f4d9d7a26b40db14c5d6a87f19df55dfb9000170 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 11 Feb 2017 13:03:07 +0100 Subject: glibc: use default PATCH_DIR Version configuration is gone, so version specific patch directories are not necessary either. Signed-off-by: Felix Fietkau --- toolchain/glibc/patches/200-add-dl-search-paths.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 toolchain/glibc/patches/200-add-dl-search-paths.patch (limited to 'toolchain/glibc/patches/200-add-dl-search-paths.patch') 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 0000000..d65a0bc --- /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) -- cgit v1.1