public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.29/master] resolv/tst-idna_name_classify: Isolate from system libraries
@ 2024-05-09 22:33 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-05-09 22:33 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=76d9e44c59d76978df0d19869d92f0e29aee74a5
commit 76d9e44c59d76978df0d19869d92f0e29aee74a5
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Oct 30 17:44:09 2019 +0100
resolv/tst-idna_name_classify: Isolate from system libraries
Loading NSS modules from static binaries uses installed system
libraries if LD_LIBRARY_PATH is not set.
(cherry picked from commit 8dddf0bd5a3d57fba8da27e93f3d1a7032fce184)
Diff:
---
inet/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/inet/Makefile b/inet/Makefile
index e2371033a7..4910556e49 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -112,4 +112,8 @@ ifeq ($(build-static-nss),yes)
CFLAGS += -DSTATIC_NSS
endif
+# The test uses dlopen indirectly and would otherwise load system
+# objects.
+tst-idna_name_classify-ENV = \
+ LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
$(objpfx)tst-idna_name_classify.out: $(gen-locales)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-09 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 22:33 [glibc/release/2.29/master] resolv/tst-idna_name_classify: Isolate from system libraries H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).