Skip to content

Commit

Permalink
Update LIBS variable in Makefile.
Browse files Browse the repository at this point in the history
Since PostgreSQL 17, the $(libpq_pgport) no longer works as a short-cut,
so spell out the link line explicitly.
  • Loading branch information
mbanck-ntap committed Sep 20, 2024
1 parent 5dcc851 commit f2c6f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PGXS = $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

# avoid linking against all libs that the server links against (xml, selinux, ...)
LIBS = $(libpq_pgport)
LIBS = -L$(shell $(PG_CONFIG) --pkglibdir) -lpgcommon -lpgport -L$(shell $(PG_CONFIG) --libdir)

PROVE_FLAGS += -I./t/perl

Expand Down

0 comments on commit f2c6f15

Please sign in to comment.