Bruce Momjian schrieb:
I have added the attached patch to allow Cygwin /contrib compiles.  I am
a little confused why Cygwin requires -lpgport and no other platform
does, but it is in the Cygwin-specific section so we can always improve
it later if we find the cause.

thanks. duplicate does not harm. I tell you when I'll find the real culprit. I thought I knew it last month, but the LDFLAGS / LIBS issue (adding all libs to LDFLAGS) is already fixed now.

Index: src/Makefile.shlib
===================================================================
RCS file: /cvsroot/pgsql/src/Makefile.shlib,v
retrieving revision 1.83
diff -c -c -r1.83 Makefile.shlib
*** src/Makefile.shlib 13 Oct 2004 09:51:47 -0000 1.83
--- src/Makefile.shlib 13 Oct 2004 10:17:36 -0000
***************
*** 216,221 ****
--- 216,223 ----
ifeq ($(PORTNAME), cygwin)
shlib = $(NAME)$(DLSUFFIX)
+ # needed for /contrib modules, not sure why
+ SHLIB_LINK += -lpgport
endif
ifeq ($(PORTNAME), win32)

-- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to