mirror of
https://github.com/postgres/postgres.git
synced 2026-02-20 00:10:16 -05:00
This preserves user-specified LDFLAGS; we already kept user-specified CFLAGS and CPPFLAGS. Given the shortage of complaints and the fact that any problem caused is likely to appear at build time, no back-patch. Dag-Erling Smørgrav and Noah Misch
6 lines
290 B
Text
6 lines
290 B
Text
# 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="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--disable-auto-import"
|