3 SRCH_LIB="/usr/local/lib"
5 # This is required for ppoll(2), and perhaps other things
6 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
8 # Extra CFLAGS for code that will go into a shared library
11 # --allow-multiple-definition is required to link pg_dump because it finds
12 # pg_toupper() etc. in both libpq and pgport
13 # we'd prefer to use --disable-auto-import to match MSVC linking behavior,
14 # but support for it in Cygwin is too haphazard
15 LDFLAGS="$LDFLAGS -Wl,--allow-multiple-definition -Wl,--enable-auto-import"