Attached hack fixes building under cygwin.
The real analysis is in my "LDFLAGS overriding" thread, but if you live
with that, this is the only remaining patch for cygwin to compile.
Everything else seems to be solved.
Even python and perl, now that tcl is removed.
Basic plperl regression tests (testing against shm failures on cygwin)
pending. No time yet.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
Index: Makefile
===================================================================
RCS file: /projects/cvsroot/pgsql-server/contrib/spi/Makefile,v
retrieving revision 1.24
diff -u -b -b -u -r1.24 Makefile
--- Makefile 20 Aug 2004 20:13:08 -0000 1.24
+++ Makefile 4 Oct 2004 10:55:47 -0000
@@ -17,3 +17,5 @@
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
+
+SHLIB_LINK += -L$(top_builddir)/src/port -lpgport