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

Commit30657b7

Browse files
committed
Remove --enable-auto-import linker switch in Cygwin build.
This is expected to make it start failing when contrib modulesreference non-PGDLLIMPORT'ed global variables, as the other Windowsbuild methods do. Aside from the value of consistency, the underlyingimplementation of this switch is pretty ugly and not really somethingwe want to rely on if we have to use PGDLLIMPORT anyway for MSVC.
1 parent8c9db4a commit30657b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/template/cygwin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
SRCH_LIB="/usr/local/lib"
44

55
# --allow-multiple-definition is required to link pg_dump because it finds
6-
# pg_toupper() in both libpq and pgport
7-
# --enable-auto-importgets rid of a diagnostics linker message
8-
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--enable-auto-import"
6+
# pg_toupper()etc.in both libpq and pgport
7+
# --disable-auto-importis to ensure we get MSVC-like linking behavior
8+
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp