From: Bruce Momjian Date: Wed, 13 Oct 2004 10:20:04 +0000 (+0000) Subject: Allow compiles for Cygwin /contrib modules. X-Git-Tag: REL9_0_0~11650 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4855d7ebe450bf14920d935c4fcf7ba49bb98a93;p=pg-rex%2Fsyncrep.git Allow compiles for Cygwin /contrib modules. Reini Urban --- diff --git a/src/Makefile.shlib b/src/Makefile.shlib index dcc702f5a7..ac263bb860 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.83 2004/10/13 09:51:47 momjian Exp $ +# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.84 2004/10/13 10:20:04 momjian Exp $ # #------------------------------------------------------------------------- @@ -216,6 +216,8 @@ endif ifeq ($(PORTNAME), cygwin) shlib = $(NAME)$(DLSUFFIX) + # needed for /contrib modules, not sure why + SHLIB_LINK += -lpgport endif ifeq ($(PORTNAME), win32)