[DTrace-devel] [PATCH 5/9] build: the TESTDIR is relative to the LIBDIR by default

Nick Alcock nick.alcock at oracle.com
Fri May 31 18:59:24 UTC 2024


If users change the LIBDIR but not the TESTDIR, the TESTDIR
is meant to follow it, but wasn't.

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 5903a8e355f61..e7657d466df50 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -100,7 +100,7 @@ MANDIR = $(prefix)/share/man/man8
 INSTMANDIR = $(DESTDIR)$(MANDIR)
 PKGCONFIGDIR = $(prefix)/share/pkgconfig
 INSTPKGCONFIGDIR = $(DESTDIR)$(PKGCONFIGDIR)
-TESTDIR = $(prefix)/lib$(BITNESS)/dtrace/testsuite
+TESTDIR = $(LIBDIR)/dtrace/testsuite
 INSTTESTDIR = $(DESTDIR)$(TESTDIR)
 TARGETS =
 
-- 
2.45.1.275.g567cb0950c




More information about the DTrace-devel mailing list