summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Champion2025-05-01 19:35:52 +0000
committerJacob Champion2025-05-01 19:35:52 +0000
commit4ea1254f35b27ed35a389e720ab2e614fc1e1d4d (patch)
tree2835d035d86d880623c8cf544f5ff0810cf3206b
parentb0635bfda0535a7fc36cd11d10eecec4e2a96330 (diff)
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.
-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