mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
This is evidently the default on buildfarm member narwhal, but that is a pretty ancient Mingw version, and there is reason to think that more recent versions of GNU ld have this feature turned on by default. Since we are trying to achieve consistency of link behavior across all Windows toolchains, let's just make sure here.
7 lines
281 B
Plaintext
7 lines
281 B
Plaintext
# src/template/win32
|
|
|
|
# --allow-multiple-definition is required to link pg_dump because it finds
|
|
# pg_toupper() etc. in both libpq and pgport
|
|
# --disable-auto-import is to ensure we get MSVC-like linking behavior
|
|
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--disable-auto-import"
|