Skip to content

Commit

Permalink
Find pg_filedump at test time in PATH
Browse files Browse the repository at this point in the history
Close #21.
  • Loading branch information
df7cb committed Jun 4, 2024
1 parent 8529a24 commit 888f5f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 888f5f4

Please sign in to comment.