Skip to content

Commit 4ea1254

Browse files
committed
oauth: Fix Autoconf build on macOS
Oversight in b0635bf. -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.
1 parent b0635bf commit 4ea1254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq-oauth/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $(stlib): override OBJS += $(OBJS_STATIC)
4747
$(stlib): $(OBJS_STATIC)
4848

4949
SHLIB_LINK_INTERNAL = $(libpq_pgport_shlib)
50-
SHLIB_LINK = $(LIBCURL_LDFLAGS) $(LIBCURL_LDLIBS)
50+
SHLIB_LINK = $(LIBCURL_LDFLAGS) $(LIBCURL_LDLIBS) $(filter -lintl, $(LIBS))
5151
SHLIB_PREREQS = submake-libpq
5252
SHLIB_EXPORTS = exports.txt
5353

0 commit comments

Comments
 (0)