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

Commitf0b0337

Browse files
committed
Add comment about linker/compiler on bsd.
1 parent00ab7b5 commitf0b0337

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/Makefile.shlib

Lines changed: 7 additions & 1 deletion
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.42 2001/02/10 17:17:39 momjian Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.43 2001/02/10 17:36:57 momjian Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -109,6 +109,12 @@ ifeq ($(PORTNAME), darwin)
109109
LINK.shared= $(COMPILER) $(CFLAGS_SL)
110110
endif
111111

112+
# While the linker allows creation of most shared libraries,
113+
# -Bsymbolic requires resolution of all symbols, making the
114+
# compiler a better choice for shared library creation on BSD platforms.
115+
# With the linker, -Bsymbolic requires the crt1.o startup object file.
116+
# bjm 2001-02-10
117+
112118
ifeq ($(PORTNAME), openbsd)
113119
shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
114120
ifdef ELF_SYSTEM

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp