mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Add comment about linker/compiler on bsd.
This commit is contained in:
parent
00ab7b5896
commit
f0b0337623
@ -6,7 +6,7 @@
|
|||||||
# Copyright (c) 1998, Regents of the University of California
|
# Copyright (c) 1998, Regents of the University of California
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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)
|
LINK.shared = $(COMPILER) $(CFLAGS_SL)
|
||||||
endif
|
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)
|
ifeq ($(PORTNAME), openbsd)
|
||||||
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
ifdef ELF_SYSTEM
|
ifdef ELF_SYSTEM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user