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

Commit66ed382

Browse files
committed
Inject $(ICU_LIBS) regardless of platform.
It appeared in a conditional that excludes AIX, Cygwin and MinGW. GiveICU support a chance to work on those platforms. Back-patch to v10,where ICU support was introduced.
1 parentc629324 commit66ed382

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ OBJS = $(SUBDIROBJS) $(LOCALOBJS) $(top_builddir)/src/port/libpgport_srv.a \
3939
$(top_builddir)/src/common/libpgcommon_srv.a
4040

4141
# We put libpgport and libpgcommon into OBJS, so remove it from LIBS; also add
42-
# libldap
43-
LIBS :=$(filter-out -lpgport -lpgcommon,$(LIBS))$(LDAP_LIBS_BE)
42+
# libldap and ICU
43+
LIBS :=$(filter-out -lpgport -lpgcommon,$(LIBS))$(LDAP_LIBS_BE)$(ICU_LIBS)
4444

4545
# The backend doesn't need everything that's in LIBS, however
4646
LIBS :=$(filter-out -lz -lreadline -ledit -ltermcap -lncurses -lcurses,$(LIBS))
@@ -58,7 +58,7 @@ ifneq ($(PORTNAME), win32)
5858
ifneq ($(PORTNAME), aix)
5959

6060
postgres:$(OBJS)
61-
$(CC)$(CFLAGS)$(LDFLAGS)$(LDFLAGS_EX)$(export_dynamic)$(call expand_subsys,$^)$(LIBS)$(ICU_LIBS)-o$@
61+
$(CC)$(CFLAGS)$(LDFLAGS)$(LDFLAGS_EX)$(export_dynamic)$(call expand_subsys,$^)$(LIBS) -o$@
6262

6363
endif
6464
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp