diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-30 17:44:09 +0100 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-05-09 15:32:52 -0700 |
commit | 76d9e44c59d76978df0d19869d92f0e29aee74a5 (patch) | |
tree | 7a794be1823bf07fda8c41fb3d5010d6447cd954 | |
parent | 2a7a9d3ac8d639ffa0a3861b309ce8a25f9df1b5 (diff) | |
download | glibc-76d9e44c59d76978df0d19869d92f0e29aee74a5.zip glibc-76d9e44c59d76978df0d19869d92f0e29aee74a5.tar.gz glibc-76d9e44c59d76978df0d19869d92f0e29aee74a5.tar.bz2 |
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)
-rw-r--r-- | inet/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/Makefile b/inet/Makefile index e237103..4910556 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) |