eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34290
This commit is contained in:
parent
10d30f2d2d
commit
426d806994
1 changed files with 14 additions and 0 deletions
14
toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch
Normal file
14
toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
add /usr/lib to default search path for the dynamic linker
|
||||
|
||||
--- a/libc/Makeconfig
|
||||
+++ b/libc/Makeconfig
|
||||
@@ -539,6 +539,9 @@
|
||||
default-rpath = $(libdir)
|
||||
endif
|
||||
|
||||
+# Add /usr/lib to default search path for the dynamic linker
|
||||
+user-defined-trusted-dirs := /usr/lib
|
||||
+
|
||||
ifndef link-extra-libs
|
||||
link-extra-libs = $(LDLIBS-$(@F))
|
||||
link-extra-libs-static = $(link-extra-libs)
|
Loading…
Reference in a new issue