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

Lines changed: 7 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy