Root/toolchain/eglibc/patches/2.14/200-add-dl-search-paths.patch

1add /usr/lib to default search path for the dynamic linker
2
3diff --git a/libc/Makeconfig b/libc/Makeconfig
4index 1a9ad87..2d4d3f7 100644
5--- a/libc/Makeconfig
6+++ b/libc/Makeconfig
7@@ -479,6 +479,9 @@ else
8 default-rpath = $(libdir)
9 endif
10 
11+# Add /usr/lib to default search path for the dynamic linker
12+user-defined-trusted-dirs := /usr/lib
13+
14 ifndef link-extra-libs
15 link-extra-libs = $(LDLIBS-$(@F))
16 link-extra-libs-static = $(link-extra-libs)
17

Archive Download this file



interactive