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

Commit1c9acd5

Browse files
committed
Use --disable-auto-import linker switch in Mingw builds, too.
This is evidently the default on buildfarm member narwhal, but thatis a pretty ancient Mingw version, and there is reason to think thatmore recent versions of GNU ld have this feature turned on by default.Since we are trying to achieve consistency of link behavior acrossall Windows toolchains, let's just make sure here.
1 parent30657b7 commit1c9acd5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/template/win32

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# src/template/win32
2+
13
# --allow-multiple-definition is required to link pg_dump because it finds
2-
# pg_toupper() in both libpq and pgport
3-
LDFLAGS="-Wl,--allow-multiple-definition"
4+
# pg_toupper() etc. in both libpq and pgport
5+
# --disable-auto-import is to ensure we get MSVC-like linking behavior
6+
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp