summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-21 20:26:47 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-21 20:26:47 +0000
commit426d8069948fddd555b7d6096e4fb45ecfea2665 (patch)
treed36992d24df1b71f847bb9af5a882a4622a70c68 /toolchain
parent10d30f2d2dda1298e07ad0fe04f214ed2ad0a4ee (diff)
downloadmtk-20170518-426d8069948fddd555b7d6096e4fb45ecfea2665.zip
mtk-20170518-426d8069948fddd555b7d6096e4fb45ecfea2665.tar.gz
mtk-20170518-426d8069948fddd555b7d6096e4fb45ecfea2665.tar.bz2
eglibc/2.16: add missing dl-search-paths patch
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34290
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch b/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch
new file mode 100644
index 0000000..70e7e60
--- /dev/null
+++ b/toolchain/eglibc/patches/2.16/200-add-dl-search-paths.patch
@@ -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)