aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-02-10 18:46:34 +0000
committerBruce Momjian <bruce@momjian.us>2001-02-10 18:46:34 +0000
commit20edc4afd2614807d9aad8de5e9854021440ae80 (patch)
tree211cefbf43cb86166296f87242f887fbf3a88c71 /src
parentbe274f47d0063c00871c87159b2842703e0b1761 (diff)
downloadpostgresql-20edc4afd2614807d9aad8de5e9854021440ae80.tar.gz
postgresql-20edc4afd2614807d9aad8de5e9854021440ae80.zip
move comment
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.shlib15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 2b2cd6b77bb..b61910894f3 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.43 2001/02/10 17:36:57 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.44 2001/02/10 18:46:34 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -50,6 +50,13 @@
# plus any additional things you want to install. Et cetera.
#
# Got that? Look at src/interfaces/libpq/Makefile for an example.
+#
+# 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 ELF platforms.
+# With the linker, -Bsymbolic requires the crt1.o startup object file.
+# bjm 2001-02-10
+
ifndef cplusplus
COMPILER = $(CC) $(CFLAGS)
@@ -109,12 +116,6 @@ 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