# src/template/win32
|
|
# define before including <time.h> for getting localtime_r() etc. on MinGW
|
CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE"
|
|
# Extra CFLAGS for code that will go into a shared library
|
CFLAGS_SL=""
|
|
# --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"
|
|
DLSUFFIX=".dll"
|