glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch...
[openwrt/svn-archive/archive.git] / toolchain / glibc / patches / 2.14 / 200-add_dl_search_path.patch
1 --- a/Makeconfig
2 +++ b/Makeconfig
3 @@ -529,6 +529,9 @@
4 default-rpath = $(libdir)
5 endif
6
7 +# Add /usr/lib to default search path for the dynamic linker
8 +user-defined-trusted-dirs := /usr/lib
9 +
10 ifndef link-extra-libs
11 link-extra-libs = $(LDLIBS-$(@F))
12 link-extra-libs-static = $(link-extra-libs)