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