|
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.43 2001/02/10 17:36:57 momjian Exp $ |
| 9 | +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.44 2001/02/10 18:46:34 momjian Exp $ |
10 | 10 | # |
11 | 11 | #------------------------------------------------------------------------- |
12 | 12 |
|
|
50 | 50 | # plus any additional things you want to install. Et cetera. |
51 | 51 | # |
52 | 52 | # Got that? Look at src/interfaces/libpq/Makefile for an example. |
| 53 | +# |
| 54 | +# While the linker allows creation of most shared libraries, |
| 55 | +# -Bsymbolic requires resolution of all symbols, making the |
| 56 | +# compiler a better choice for shared library creation on ELF platforms. |
| 57 | +# With the linker, -Bsymbolic requires the crt1.o startup object file. |
| 58 | +# bjm 2001-02-10 |
| 59 | + |
53 | 60 |
|
54 | 61 | ifndef cplusplus |
55 | 62 | COMPILER = $(CC) $(CFLAGS) |
@@ -109,12 +116,6 @@ ifeq ($(PORTNAME), darwin) |
109 | 116 | LINK.shared = $(COMPILER) $(CFLAGS_SL) |
110 | 117 | endif |
111 | 118 |
|
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 | | - |
118 | 119 | ifeq ($(PORTNAME), openbsd) |
119 | 120 | shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) |
120 | 121 | ifdef ELF_SYSTEM |
|
0 commit comments