mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Revert shlib changes.
This commit is contained in:
parent
fd866b4580
commit
db98204a8a
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.39 2001/02/10 16:25:10 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.40 2001/02/10 16:26:38 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ endif
|
|||||||
ifeq ($(PORTNAME), openbsd)
|
ifeq ($(PORTNAME), openbsd)
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
ifdef ELF_SYSTEM
|
ifdef ELF_SYSTEM
|
||||||
LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname)
|
LINK.shared = $(LD) -x -Bshareable -soname $(soname)
|
||||||
else
|
else
|
||||||
LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
||||||
endif
|
endif
|
||||||
@ -121,7 +121,7 @@ endif
|
|||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
ifeq ($(DLSUFFIX), .so)
|
ifeq ($(DLSUFFIX), .so)
|
||||||
LINK.shared = $(COMPILER) -shared -Wl,-soname,$(soname)
|
LINK.shared = $(LD) -shared -soname $(soname)
|
||||||
endif
|
endif
|
||||||
ifeq ($(DLSUFFIX), .o)
|
ifeq ($(DLSUFFIX), .o)
|
||||||
LINK.shared = shlicc -O $(LDREL)
|
LINK.shared = shlicc -O $(LDREL)
|
||||||
@ -131,7 +131,7 @@ endif
|
|||||||
ifeq ($(PORTNAME), freebsd)
|
ifeq ($(PORTNAME), freebsd)
|
||||||
ifdef ELF_SYSTEM
|
ifdef ELF_SYSTEM
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
|
||||||
LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname)
|
LINK.shared = $(LD) -x -shared -soname $(soname)
|
||||||
else
|
else
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
LINK.shared = $(LD) -x -Bshareable -Bforcearchive
|
||||||
@ -165,12 +165,13 @@ endif
|
|||||||
|
|
||||||
ifeq ($(PORTNAME), solaris)
|
ifeq ($(PORTNAME), solaris)
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
|
LINK.shared = $(COMPILER) -G
|
||||||
ifeq ($(with_gnu_ld), yes)
|
ifeq ($(with_gnu_ld), yes)
|
||||||
LINK.shared = $(COMPILER) -G -Wl,-soname,$(soname)
|
LINK.shared += -Wl,-soname,$(soname)
|
||||||
else
|
else
|
||||||
LINK.shared = $(COMPILER) -G -Wl,-h,$(soname)
|
LINK.shared += -Wl,-h,$(soname)
|
||||||
endif
|
endif
|
||||||
SHLIB_LINK = $(COMPILER) -G -lm -lc
|
SHLIB_LINK += -lm -lc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), osf)
|
ifeq ($(PORTNAME), osf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user