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

Commit297a174

Browse files
committed
Allow ecpg to be built stand-alone, allow parallel libpq make
This change defines SHLIB_PREREQS for the libpgport dependency, ratherthan using a makefile rule. This was broken in PG 12.Reported-by: Filip JanusDiscussion:https://postgr.es/m/E5Dc85EGUY4wyG8cjAU0qoEdCJxGK_qhW1s9qSuYq9A@mail.gmail.comAuthor: Dagfinn Ilmari Mannsåker (for libpq)Backpatch-through: 12
1 parentee40e89 commit297a174

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/interfaces/ecpg/pgtypeslib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ override CFLAGS += $(PTHREAD_CFLAGS)
2424

2525
SHLIB_LINK_INTERNAL = -lpgcommon_shlib -lpgport_shlib
2626
SHLIB_LINK +=$(filter -lintl -lm,$(LIBS))
27+
SHLIB_PREREQS = submake-libpgport
2728

2829
SHLIB_EXPORTS = exports.txt
2930

‎src/interfaces/libpq/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,12 @@ endif
7272
ifeq ($(PORTNAME), win32)
7373
SHLIB_LINK += -lshell32 -lws2_32 -lsecur32$(filter -leay32 -lssleay32 -lcomerr32 -lkrb5_32,$(LIBS))
7474
endif
75+
SHLIB_PREREQS = submake-libpgport
7576

7677
SHLIB_EXPORTS = exports.txt
7778

7879
all: all-lib
7980

80-
all-lib: | submake-libpgport
81-
8281
# Shared library stuff
8382
include$(top_srcdir)/src/Makefile.shlib
8483
backend_src =$(top_srcdir)/src/backend

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp