X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Flynxis%2Fomap.git;a=blobdiff_plain;f=toolchain%2Fglibc%2Fpatches%2F2.19%2F200-add-dl-search-paths.patch;fp=toolchain%2Fglibc%2Fpatches%2F2.19%2F200-add-dl-search-paths.patch;h=fa192ca1cd148252496e10c9d91a53e814e098e8;hp=0000000000000000000000000000000000000000;hb=3e2f57835342074a90843077c1c63c88a42e6217;hpb=eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0 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 0000000000..fa192ca1cd --- /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)