Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdb98204

Browse files
committed
Revert shlib changes.
1 parentfd866b4 commitdb98204

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

‎src/Makefile.shlib

Lines changed: 8 additions & 7 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-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.39 2001/02/10 16:25:10 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.40 2001/02/10 16:26:38 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -112,7 +112,7 @@ endif
112112
ifeq ($(PORTNAME), openbsd)
113113
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
114114
ifdef ELF_SYSTEM
115-
LINK.shared= $(COMPILER) -shared -Wl,-x,-soname,$(soname)
115+
LINK.shared= $(LD) -x -Bshareable -soname$(soname)
116116
else
117117
LINK.shared= $(LD) -x -Bshareable -Bforcearchive
118118
endif
@@ -121,7 +121,7 @@ endif
121121
ifeq ($(PORTNAME), bsdi)
122122
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
123123
ifeq ($(DLSUFFIX), .so)
124-
LINK.shared= $(COMPILER) -shared -Wl,-soname,$(soname)
124+
LINK.shared= $(LD) -shared -soname$(soname)
125125
endif
126126
ifeq ($(DLSUFFIX), .o)
127127
LINK.shared= shlicc -O $(LDREL)
@@ -131,7 +131,7 @@ endif
131131
ifeq ($(PORTNAME), freebsd)
132132
ifdef ELF_SYSTEM
133133
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
134-
LINK.shared= $(COMPILER) -shared -Wl,-x,-soname,$(soname)
134+
LINK.shared= $(LD) -x -shared -soname$(soname)
135135
else
136136
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
137137
LINK.shared= $(LD) -x -Bshareable -Bforcearchive
@@ -165,12 +165,13 @@ endif
165165

166166
ifeq ($(PORTNAME), solaris)
167167
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
168+
LINK.shared= $(COMPILER) -G
168169
ifeq ($(with_gnu_ld), yes)
169-
LINK.shared= $(COMPILER) -G -Wl,-soname,$(soname)
170+
LINK.shared+= -Wl,-soname,$(soname)
170171
else
171-
LINK.shared= $(COMPILER) -G -Wl,-h,$(soname)
172+
LINK.shared+= -Wl,-h,$(soname)
172173
endif
173-
SHLIB_LINK= $(COMPILER) -G -lm -lc
174+
SHLIB_LINK+= -lm -lc
174175
endif
175176

176177
ifeq ($(PORTNAME), osf)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp