From: Vladimir Mezentsev Date: Wed, 27 Apr 2022 09:17:02 +0000 (-0700) Subject: gprofng: test suite problems X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e12331a9bf980f24e6fe4aa1b22b431950883ba;p=binutils-gdb.git gprofng: test suite problems gprofng/ChangeLog 2022-04-27 Vladimir Mezentsev PR gprofng/29065 * testsuite/lib/Makefile.skel: Search parent dir for libs too. --- diff --git a/gprofng/testsuite/lib/Makefile.skel b/gprofng/testsuite/lib/Makefile.skel index 7134c2715b5..7810ba7ed7a 100644 --- a/gprofng/testsuite/lib/Makefile.skel +++ b/gprofng/testsuite/lib/Makefile.skel @@ -39,8 +39,8 @@ DISPLAY = $(GPROFNG) display text EXPERIMENT = test.er DISPLAY_LOG = display.log - -export LD_LIBRARY_PATH := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1)) +gprofng_dir := $(shell dirname $$(find ../root -name libgprofng.so.0 | head -1)) +export LD_LIBRARY_PATH := $(gprofng_dir):$(gprofng_dir)/.. .PHONY: all collect compare clobber clean