Cygwin build fixes.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2014 17:10:52 +0000 (12:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2014 17:10:52 +0000 (12:10 -0500)
commitcba6ffaef3987211fb31ba869eb2a476bad6f6d3
tree2ec0ab52588aebf60627d4dc062ed787892c8bbc
parentd3c4c471553265e7517be24bae64b81967f6df40
Cygwin build fixes.

Get rid of use of dlltool for linking the main postgres executable.
dlltool is obsolete and we'd prefer to stop depending on it.

Also, include $(LDAP_LIBS_FE) in $(libpq_pgport).  (It's not clear that
this is really needed, or why it's not a linker bug if it is needed.
But reports are that it's needed on current Cygwin.)

We might want to back-patch this if it works, but first let's see
what the buildfarm thinks.

Marco Atzeri
src/Makefile.global.in
src/backend/Makefile