summaryrefslogtreecommitdiff
path: root/src/template/cygwin
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-11-17 17:46:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-11-17 17:46:24 +0000
commit5d72ef83fd437f8d4f4310d6118c6debbbd48e19 (patch)
treefda41b2ec6f79f915aa8105c1da2dc19af772a28 /src/template/cygwin
parentede8f4e311fc24b45abdaa856c5afeb8238da78b (diff)
downloadpostgresql-5d72ef83fd437f8d4f4310d6118c6debbbd48e19.tar.gz
Miscellaneous Cygwin build fixes from Reini Urban.
Diffstat (limited to 'src/template/cygwin')
-rw-r--r--src/template/cygwin5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/template/cygwin b/src/template/cygwin
index ae7bb16bd1..e649d88c1b 100644
--- a/src/template/cygwin
+++ b/src/template/cygwin
@@ -2,5 +2,6 @@ SRCH_LIB="/usr/local/lib"
# This is required to link pg_dump because it finds pg_toupper() in
# libpq and pgport
-LDFLAGS="-Wl,--allow-multiple-definition"
-
+LDFLAGS="-Wl,--allow-multiple-definition -Wl,--enable-auto-import"
+# --enable-auto-import gets rid of a diagnostics linker message
+LDFLAGS_SL="-Wl,--enable-auto-import"