Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit db5f60c

Browse files
committed
On cygwin and win32, don't override the shlib name when building a module.
Should fix regression test failures on those platforms.
1 parent bb6f1eb commit db5f60c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Makefile.shlib

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.115 2008/04/07 23:08:15 petere Exp $
9+
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.116 2008/04/08 09:50:29 petere Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -311,12 +311,16 @@ ifeq ($(PORTNAME), unixware)
311311
endif
312312

313313
ifeq ($(PORTNAME), cygwin)
314-
shlib = cyg$(NAME)$(DLSUFFIX)
314+
ifdef SO_MAJOR_VERSION
315+
shlib = cyg$(NAME)$(DLSUFFIX)
316+
endif
315317
haslibarule = yes
316318
endif
317319

318320
ifeq ($(PORTNAME), win32)
319-
shlib = lib$(NAME)$(DLSUFFIX)
321+
ifdef SO_MAJOR_VERSION
322+
shlib = lib$(NAME)$(DLSUFFIX)
323+
endif
320324
haslibarule = yes
321325
endif
322326

0 commit comments

Comments
 (0)