From 626d9efa74685720020e816f3a917b7591d3cf7a Mon Sep 17 00:00:00 2001 From: James <> Date: Sat, 26 Sep 2015 12:29:31 +0100 Subject: trunk-47048 --- toolchain/glibc/patches/2.19/200-add-dl-search-paths.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 toolchain/glibc/patches/2.19/200-add-dl-search-paths.patch (limited to 'toolchain/glibc/patches/2.19/200-add-dl-search-paths.patch') diff --git a/toolchain/glibc/patches/2.19/200-add-dl-search-paths.patch b/toolchain/glibc/patches/2.19/200-add-dl-search-paths.patch new file mode 100644 index 0000000..fa192ca --- /dev/null +++ b/toolchain/glibc/patches/2.19/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 +@@ -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) -- cgit v1.2.3