summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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