X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=toolchain%2Fglibc%2Fpatches%2F2.15%2F200-add-dl-search-paths.patch;fp=toolchain%2Fglibc%2Fpatches%2F2.15%2F200-add-dl-search-paths.patch;h=70e7e604de6f67a3dfb1c3b9a0c73655b982e11f;hp=0000000000000000000000000000000000000000;hb=3e2f57835342074a90843077c1c63c88a42e6217;hpb=eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0 diff --git a/toolchain/glibc/patches/2.15/200-add-dl-search-paths.patch b/toolchain/glibc/patches/2.15/200-add-dl-search-paths.patch new file mode 100644 index 0000000000..70e7e604de --- /dev/null +++ b/toolchain/glibc/patches/2.15/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 +@@ -539,6 +539,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)