aboutsummaryrefslogtreecommitdiff
path: root/gprofng/testsuite/lib/Makefile.skel
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/testsuite/lib/Makefile.skel')
-rw-r--r--gprofng/testsuite/lib/Makefile.skel4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprofng/testsuite/lib/Makefile.skel b/gprofng/testsuite/lib/Makefile.skel
index 7134c27..7810ba7 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