toolchain: The glorious return of glibc, ver 2.21
[openwrt/openwrt.git] / toolchain / glibc / patches / 2.19 / 200-add-dl-search-paths.patch
1 add /usr/lib to default search path for the dynamic linker
2
3 --- a/libc/Makeconfig
4 +++ b/libc/Makeconfig
5 @@ -501,6 +501,9 @@ else
6 default-rpath = $(libdir)
7 endif
8
9 +# Add /usr/lib to default search path for the dynamic linker
10 +user-defined-trusted-dirs := /usr/lib
11 +
12 ifndef link-extra-libs
13 link-extra-libs = $(LDLIBS-$(@F))
14 link-extra-libs-static = $(link-extra-libs)