diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-02-10 17:36:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-02-10 17:36:57 +0000 |
commit | f0b0337623035d333b4584c17c118f98a19dbd6c (patch) | |
tree | e01b3e15f2bb84252fadbce19e4b559befaaba52 /src | |
parent | 00ab7b58969204c192636872ff3a6174b450e73c (diff) | |
download | postgresql-f0b0337623035d333b4584c17c118f98a19dbd6c.tar.gz postgresql-f0b0337623035d333b4584c17c118f98a19dbd6c.zip |
Add comment about linker/compiler on bsd.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.shlib | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index b8d25927b96..2b2cd6b77bb 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.42 2001/02/10 17:17:39 momjian Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.43 2001/02/10 17:36:57 momjian Exp $ # #------------------------------------------------------------------------- @@ -109,6 +109,12 @@ ifeq ($(PORTNAME), darwin) LINK.shared = $(COMPILER) $(CFLAGS_SL) endif +# While the linker allows creation of most shared libraries, +# -Bsymbolic requires resolution of all symbols, making the +# compiler a better choice for shared library creation on BSD platforms. +# With the linker, -Bsymbolic requires the crt1.o startup object file. +# bjm 2001-02-10 + ifeq ($(PORTNAME), openbsd) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) ifdef ELF_SYSTEM |