OSDN Git Service

Allow compiles for Cygwin /contrib modules.
authorBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 2004 10:20:04 +0000 (10:20 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 2004 10:20:04 +0000 (10:20 +0000)
Reini Urban

src/Makefile.shlib

index dcc702f..ac263bb 100644 (file)
@@ -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)