Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8811f5d

Browse files
committed
libpqwalreceiver needs to link with libintl when using --enable-nls.
The need for this was previously obscured even on picky platformsby the hack we used to support direct cross-module references inthe transforms contrib modules. Now that that hack is gone, theundefined symbol is exposed, as reported by Robert Haas.Back-patch to 9.5 where we started to use -Wl,-undefined,dynamic_lookup.I'm a bit surprised that the older branches don't seem to containany gettext references in this module, but since they don't failat build time, they must not. (We might be able to get away withleaving this alone in 9.5/9.6, but I think it's cleaner if thereference gets resolved at link time.)Report: <CA+TgmoaHJKU5kcWZcYduATYVT7Mnx+8jUnycaYYL7OtCwCigug@mail.gmail.com>
1 parentb0779ab commit8811f5d

File tree

1 file changed

+1
-1
lines changed
  • src/backend/replication/libpqwalreceiver

1 file changed

+1
-1
lines changed

‎src/backend/replication/libpqwalreceiver/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include $(top_builddir)/src/Makefile.global
1515
overrideCPPFLAGS := -I$(srcdir) -I$(libpq_srcdir)$(CPPFLAGS)
1616

1717
OBJS = libpqwalreceiver.o$(WIN32RES)
18-
SHLIB_LINK =$(libpq)
18+
SHLIB_LINK =$(libpq)$(filter -lintl,$(LIBS))
1919
SHLIB_PREREQS = submake-libpq
2020
PGFILEDESC = "libpqwalreceiver - receive WAL during streaming replication"
2121
NAME = libpqwalreceiver

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp