From 888f5f488cee8742f27ffff99f2a2192bafd2b67 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 4 Jun 2024 15:12:41 +0200 Subject: [PATCH] Find pg_filedump at test time in PATH Close #21. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b0f88b5..531ab23 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,9 @@ PG_CONFIG ?= pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) +# make regression tests find pg_filedump (srcdir for build-time testing, bindir for later installcheck) +PATH += :$(srcdir):$(shell $(PG_CONFIG) --bindir) + # avoid linking against all libs that the server links against (xml, selinux, ...) ifneq ($(findstring -llz4,$(LIBS)),) LIBS = $(libpq_pgport) -llz4