70e7e604de6f67a3dfb1c3b9a0c73655b982e11f
[openwrt/openwrt.git] / 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)