Allow compiles for Cygwin /contrib modules.

Reini Urban
This commit is contained in:
Bruce Momjian 2004-10-13 10:20:04 +00:00
parent ae1703d897
commit 4855d7ebe4

View File

@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California # Copyright (c) 1998, Regents of the University of California
# #
# IDENTIFICATION # 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) ifeq ($(PORTNAME), cygwin)
shlib = $(NAME)$(DLSUFFIX) shlib = $(NAME)$(DLSUFFIX)
# needed for /contrib modules, not sure why
SHLIB_LINK += -lpgport
endif endif
ifeq ($(PORTNAME), win32) ifeq ($(PORTNAME), win32)