mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04: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
9 lines
369 B
Text
9 lines
369 B
Text
# src/template/cygwin
|
|
|
|
SRCH_LIB="/usr/local/lib"
|
|
|
|
# --allow-multiple-definition is required to link pg_dump because it finds
|
|
# pg_toupper() etc. in both libpq and pgport
|
|
# we'd prefer to use --disable-auto-import to match MSVC linking behavior,
|
|
# but support for it in Cygwin is too haphazard
|
|
LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--enable-auto-import"
|