From: Florian Weimer Date: Wed, 30 Oct 2019 16:44:09 +0000 (+0100) Subject: resolv/tst-idna_name_classify: Isolate from system libraries X-Git-Tag: glibc-2.31~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dddf0bd5a3d57fba8da27e93f3d1a7032fce184;p=thirdparty%2Fglibc.git 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. --- diff --git a/inet/Makefile b/inet/Makefile index 1fda64abe7d..33912340a27 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)