mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	On cygwin and win32, don't override the shlib name when building a module.
Should fix regression test failures on those platforms.
This commit is contained in:
		@@ -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.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 $
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
#-------------------------------------------------------------------------
 | 
					#-------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -311,12 +311,16 @@ ifeq ($(PORTNAME), unixware)
 | 
				
			|||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(PORTNAME), cygwin)
 | 
					ifeq ($(PORTNAME), cygwin)
 | 
				
			||||||
 | 
					  ifdef SO_MAJOR_VERSION
 | 
				
			||||||
    shlib		= cyg$(NAME)$(DLSUFFIX)
 | 
					    shlib		= cyg$(NAME)$(DLSUFFIX)
 | 
				
			||||||
 | 
					  endif
 | 
				
			||||||
  haslibarule   = yes
 | 
					  haslibarule   = yes
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(PORTNAME), win32)
 | 
					ifeq ($(PORTNAME), win32)
 | 
				
			||||||
 | 
					  ifdef SO_MAJOR_VERSION
 | 
				
			||||||
    shlib		= lib$(NAME)$(DLSUFFIX)
 | 
					    shlib		= lib$(NAME)$(DLSUFFIX)
 | 
				
			||||||
 | 
					  endif
 | 
				
			||||||
  haslibarule   = yes
 | 
					  haslibarule   = yes
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user