# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.115 2008/04/07 23:08:15 petere Exp $
+# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.116 2008/04/08 09:50:29 petere Exp $
#
#-------------------------------------------------------------------------
endif
ifeq ($(PORTNAME), cygwin)
- shlib = cyg$(NAME)$(DLSUFFIX)
+ ifdef SO_MAJOR_VERSION
+ shlib = cyg$(NAME)$(DLSUFFIX)
+ endif
haslibarule = yes
endif
ifeq ($(PORTNAME), win32)
- shlib = lib$(NAME)$(DLSUFFIX)
+ ifdef SO_MAJOR_VERSION
+ shlib = lib$(NAME)$(DLSUFFIX)
+ endif
haslibarule = yes
endif