From 65d1048d694d75a07fa19fee4a99706c25f48ba8 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 8 Apr 2008 09:50:29 +0000 Subject: [PATCH] On cygwin and win32, don't override the shlib name when building a module. Should fix regression test failures on those platforms. --- src/Makefile.shlib | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 8e336f9bdf..cafb13586d 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -311,12 +311,16 @@ ifeq ($(PORTNAME), unixware) 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 -- 2.39.5