eglibc: add version 2.19
[openwrt.git] / toolchain / eglibc / patches / 2.16 / 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 @@ -539,6 +539,9 @@
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)