From 6a577860c0a7eaadd43d931f737ff5f2a954b597 Mon Sep 17 00:00:00 2001 From: "Andrei V. Lepikhov" Date: Tue, 22 Jul 2025 14:25:48 +0200 Subject: [PATCH v0] Fix Makefile in modules employing the libpqsrv_notice_receiver function --- contrib/dblink/Makefile | 1 + contrib/postgres_fdw/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile index fde0b49ddbb..ea6396bc70c 100644 --- a/contrib/dblink/Makefile +++ b/contrib/dblink/Makefile @@ -6,6 +6,7 @@ OBJS = \ dblink.o PG_CPPFLAGS = -I$(libpq_srcdir) SHLIB_LINK_INTERNAL = $(libpq) +SHLIB_LINK = $(filter -lintl, $(LIBS)) EXTENSION = dblink DATA = dblink--1.2.sql dblink--1.1--1.2.sql dblink--1.0--1.1.sql diff --git a/contrib/postgres_fdw/Makefile b/contrib/postgres_fdw/Makefile index adfbd2ef758..bba2551df51 100644 --- a/contrib/postgres_fdw/Makefile +++ b/contrib/postgres_fdw/Makefile @@ -12,6 +12,7 @@ PGFILEDESC = "postgres_fdw - foreign data wrapper for PostgreSQL" PG_CPPFLAGS = -I$(libpq_srcdir) SHLIB_LINK_INTERNAL = $(libpq) +SHLIB_LINK = $(filter -lintl, $(LIBS)) EXTENSION = postgres_fdw DATA = postgres_fdw--1.0.sql postgres_fdw--1.0--1.1.sql postgres_fdw--1.1--1.2.sql -- 2.50.1