From 8dddf0bd5a3d57fba8da27e93f3d1a7032fce184 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 30 Oct 2019 17:44:09 +0100 Subject: 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. --- inet/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inet') 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) -- cgit v1.2.3