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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-12-21 11:35:32 +01:00

15 lines
362 B
Diff

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