X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=toolchain%2Fglibc%2Fpatches%2F2.21%2F200-add-dl-search-paths.patch;fp=toolchain%2Fglibc%2Fpatches%2F2.21%2F200-add-dl-search-paths.patch;h=a6200f783b7030c4a1459f2a0fb1755874df1c19;hb=3e2f57835342074a90843077c1c63c88a42e6217;hp=0000000000000000000000000000000000000000;hpb=eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0;p=lede-git%2F.git diff --git a/toolchain/glibc/patches/2.21/200-add-dl-search-paths.patch b/toolchain/glibc/patches/2.21/200-add-dl-search-paths.patch new file mode 100644 index 0000000000..a6200f783b --- /dev/null +++ b/toolchain/glibc/patches/2.21/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)