diff options
| author | Peter Eisentraut | 2001-06-20 20:25:11 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2001-06-20 20:25:11 +0000 |
| commit | 90e2663313016d2c32bc9b75568ae28dd3dc20dc (patch) | |
| tree | 30b23b940be644333e8b2347faaeed6035b48cca /src/Makefile.shlib | |
| parent | 7fdd76cd085072a4297d0b0f592393b93a40103a (diff) | |
Shared libraries should not be linked explicitly against -lc on FreeBSD
(see http://mail.gnu.org/pipermail/libtool/2000-July/001824.html). But
apparently it should still be present with -Bsymbolic.
Diffstat (limited to 'src/Makefile.shlib')
| -rw-r--r-- | src/Makefile.shlib | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 732d7415686..186575814d2 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.51 2001/05/07 20:43:28 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.52 2001/06/20 20:25:11 petere Exp $ # #------------------------------------------------------------------------- @@ -141,7 +141,6 @@ ifeq ($(PORTNAME), freebsd) ifdef ELF_SYSTEM shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname) - SHLIB_LINK += -lc else shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LINK.shared = $(LD) -x -Bshareable -Bforcearchive |
