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

Commit90e2663

Browse files
committed
Shared libraries should not be linked explicitly against -lc on FreeBSD
(seehttp://mail.gnu.org/pipermail/libtool/2000-July/001824.html). Butapparently it should still be present with -Bsymbolic.
1 parent7fdd76c commit90e2663

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎src/Makefile.shlib

Lines changed: 1 addition & 2 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.51 2001/05/07 20:43:28 petere Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.52 2001/06/20 20:25:11 petere Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -141,7 +141,6 @@ ifeq ($(PORTNAME), freebsd)
141141
ifdef ELF_SYSTEM
142142
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
143143
LINK.shared= $(COMPILER) -shared -Wl,-x,-soname,$(soname)
144-
SHLIB_LINK+= -lc
145144
else
146145
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
147146
LINK.shared= $(LD) -x -Bshareable -Bforcearchive

‎src/makefiles/Makefile.freebsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ AROPT = cr
33
ifdef ELF_SYSTEM
44
export_dynamic = -export-dynamic
55
rpath = -R$(libdir)
6-
shlib_symbolic = -Wl,-Bsymbolic
6+
shlib_symbolic = -Wl,-Bsymbolic -lc
77
endif
88

99
DLSUFFIX = .so

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp