Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f0b0337

Browse files
committed
Add comment about linker/compiler on bsd.
1 parent 00ab7b5 commit f0b0337

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)