|
6 | 6 | # Copyright (c) 1998, Regents of the University of California |
7 | 7 | # |
8 | 8 | # 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 $ |
10 | 10 | # |
11 | 11 | #------------------------------------------------------------------------- |
12 | 12 |
|
@@ -109,6 +109,12 @@ ifeq ($(PORTNAME), darwin) |
109 | 109 | LINK.shared= $(COMPILER) $(CFLAGS_SL) |
110 | 110 | endif |
111 | 111 |
|
| 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 | + |
112 | 118 | ifeq ($(PORTNAME), openbsd) |
113 | 119 | shlib:= lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) |
114 | 120 | ifdef ELF_SYSTEM |
|