summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2024-06-07 11:52:41 +0000
committerChristoph Berg2024-06-07 11:52:41 +0000
commit61b1db0ff62fd9d6b666da7a75979722890ccc4f (patch)
treed717a3fac32d23438ecac0642104ff66de30a222
parent40dcfd17a4af5796782ab6ac681bad824c2076cd (diff)
Explicitly link against libpgcommon and libpgport
libpq_pgport used to pull these in, but does no longer in PG17.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d703df5..3300cc8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,9 @@ 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
+ LIBS = -L$(pkglibdir) -lpgcommon -lpgport -llz4
else
- LIBS = $(libpq_pgport)
+ LIBS = -L$(pkglibdir) -lpgcommon -lpgport
endif
DISTFILES= README.pg_filedump.md Makefile \