446cf2
commit 8dddf0bd5a3d57fba8da27e93f3d1a7032fce184
446cf2
Author: Florian Weimer <fweimer@redhat.com>
446cf2
Date:   Wed Oct 30 17:44:09 2019 +0100
446cf2
446cf2
    resolv/tst-idna_name_classify: Isolate from system libraries
446cf2
    
446cf2
    Loading NSS modules from static binaries uses installed system
446cf2
    libraries if LD_LIBRARY_PATH is not set.
446cf2
446cf2
diff --git a/inet/Makefile b/inet/Makefile
446cf2
index 7782913b4c06f057..62d25f853538bb08 100644
446cf2
--- a/inet/Makefile
446cf2
+++ b/inet/Makefile
446cf2
@@ -112,4 +112,8 @@ ifeq ($(build-static-nss),yes)
446cf2
 CFLAGS += -DSTATIC_NSS
446cf2
 endif
446cf2
 
446cf2
+# The test uses dlopen indirectly and would otherwise load system
446cf2
+# objects.
446cf2
+tst-idna_name_classify-ENV = \
446cf2
+  LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf
446cf2
 $(objpfx)tst-idna_name_classify.out: $(gen-locales)