From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74578 invoked by alias); 30 Oct 2019 16:44:36 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 74530 invoked by uid 9299); 30 Oct 2019 16:44:36 -0000 Date: Wed, 30 Oct 2019 16:44:00 -0000 Message-ID: <20191030164436.74528.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] resolv/tst-idna_name_classify: Isolate from system libraries X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 0b262ca4c64cd9042576ddb9969607c0ea1187d7 X-Git-Newrev: 8dddf0bd5a3d57fba8da27e93f3d1a7032fce184 X-SW-Source: 2019-q4/txt/msg00196.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8dddf0bd5a3d57fba8da27e93f3d1a7032fce184 commit 8dddf0bd5a3d57fba8da27e93f3d1a7032fce184 Author: Florian Weimer Date: Wed Oct 30 17:44:09 2019 +0100 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: --- inet/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inet/Makefile b/inet/Makefile index 1fda64a..3391234 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)