openwrt/toolchain/glibc/patches/200-add-dl-search-paths.patch
Hauke Mehrtens e58b76effe toolchain: glibc: Update to glibc 2.35
This updates to glibc to version 2.35.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-08-15 19:30:04 +02:00

15 lines
362 B
Diff

add /usr/lib to default search path for the dynamic linker
--- a/Makeconfig
+++ b/Makeconfig
@@ -618,6 +618,9 @@ else
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)