aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-10-30 17:44:09 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-10-30 17:44:09 +0100
commit8dddf0bd5a3d57fba8da27e93f3d1a7032fce184 (patch)
tree6901c4b7b8e1860de9cb93454b4671b2221d5832 /inet
parenthurd: Support for file record locking (diff)
downloadglibc-8dddf0bd5a3d57fba8da27e93f3d1a7032fce184.tar.gz
glibc-8dddf0bd5a3d57fba8da27e93f3d1a7032fce184.tar.bz2
glibc-8dddf0bd5a3d57fba8da27e93f3d1a7032fce184.zip
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.
Diffstat (limited to 'inet')
-rw-r--r--inet/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/Makefile b/inet/Makefile
index 1fda64abe7..33912340a2 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)