From: Christoph Berg Date: Fri, 7 Jun 2024 11:52:41 +0000 (+0200) Subject: Explicitly link against libpgcommon and libpgport X-Git-Tag: REL_17_0~1 X-Git-Url: http://git.postgresql.org/gitweb/edit?a=commitdiff_plain;h=61b1db0ff62fd9d6b666da7a75979722890ccc4f;p=pg_filedump.git Explicitly link against libpgcommon and libpgport libpq_pgport used to pull these in, but does no longer in PG17. --- 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 \