aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob Champion <jchampion@postgresql.org>2025-05-01 12:35:52 -0700
committerJacob Champion <jchampion@postgresql.org>2025-05-01 12:35:52 -0700
commit4ea1254f35b27ed35a389e720ab2e614fc1e1d4d (patch)
tree2835d035d86d880623c8cf544f5ff0810cf3206b /src
parentb0635bfda0535a7fc36cd11d10eecec4e2a96330 (diff)
downloadpostgresql-4ea1254f35b27ed35a389e720ab2e614fc1e1d4d.tar.gz
postgresql-4ea1254f35b27ed35a389e720ab2e614fc1e1d4d.zip
oauth: Fix Autoconf build on macOS
Oversight in b0635bfda. -lintl is necessary for gettext on Mac, which libpq-oauth depends on via pgport/pgcommon. (I'd incorrectly removed this change from an earlier version of the patch, where it was suggested by Peter Eisentraut.) Per buildfarm member indri.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq-oauth/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq-oauth/Makefile b/src/interfaces/libpq-oauth/Makefile
index 3e4b34142e0..270fc0cf2d9 100644
--- a/src/interfaces/libpq-oauth/Makefile
+++ b/src/interfaces/libpq-oauth/Makefile
@@ -47,7 +47,7 @@ $(stlib): override OBJS += $(OBJS_STATIC)
$(stlib): $(OBJS_STATIC)
SHLIB_LINK_INTERNAL = $(libpq_pgport_shlib)
-SHLIB_LINK = $(LIBCURL_LDFLAGS) $(LIBCURL_LDLIBS)
+SHLIB_LINK = $(LIBCURL_LDFLAGS) $(LIBCURL_LDLIBS) $(filter -lintl, $(LIBS))
SHLIB_PREREQS = submake-libpq
SHLIB_EXPORTS = exports.txt