2010-09-20 22:08:53 +02:00
|
|
|
# src/template/cygwin
|
2006-03-11 05:38:42 +01:00
|
|
|
|
2003-10-09 16:40:37 +02:00
|
|
|
SRCH_LIB="/usr/local/lib"
|
2004-11-08 06:23:26 +01:00
|
|
|
|
2019-10-21 18:32:35 +02:00
|
|
|
# Extra CFLAGS for code that will go into a shared library
|
|
|
|
CFLAGS_SL=""
|
|
|
|
|
2010-07-05 20:54:38 +02:00
|
|
|
# --allow-multiple-definition is required to link pg_dump because it finds
|
2014-02-12 17:53:07 +01:00
|
|
|
# pg_toupper() etc. in both libpq and pgport
|
2014-02-16 21:14:04 +01:00
|
|
|
# we'd prefer to use --disable-auto-import to match MSVC linking behavior,
|
|
|
|
# but support for it in Cygwin is too haphazard
|
2014-06-12 01:50:57 +02:00
|
|
|
LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--enable-auto-import"
|