summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2024-06-04 13:12:41 +0000
committerChristoph Berg2024-06-04 13:12:41 +0000
commit888f5f488cee8742f27ffff99f2a2192bafd2b67 (patch)
tree7aad8d82debde69cbd769860fa1b21bfe297e9b1
parent8529a24e615b5ffec23c060c6a342bd38081e970 (diff)
Find pg_filedump at test time in PATH
Close #21.
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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