busybox: Minor fix for glibc 2.21 compatibility
[openwrt/staging/mkresin.git] / toolchain / eglibc / 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)