diff options
author | Peter Eisentraut | 2001-02-10 16:51:40 +0000 |
---|---|---|
committer | Peter Eisentraut | 2001-02-10 16:51:40 +0000 |
commit | 8213e63d8cd9acbbfa8a13adeb1a88c4738c2b75 (patch) | |
tree | 0902b023ecaff5ecc2d38a4860b3653d2fdb11f4 /src/Makefile.shlib | |
parent | d3fb67db260fd1c51b83516e2c4ab73ca4dfd26f (diff) |
Repair BSD/OS shared library fixes.
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r-- | src/Makefile.shlib | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 912c9c21c05..dd9a0d350fb 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.40 2001/02/10 16:26:38 momjian Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.41 2001/02/10 16:51:39 petere Exp $ # #------------------------------------------------------------------------- @@ -121,7 +121,8 @@ endif ifeq ($(PORTNAME), bsdi) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) ifeq ($(DLSUFFIX), .so) - LINK.shared = $(LD) -shared -soname $(soname) + LINK.shared = $(COMPILER) -shared -Wl,-soname,$(soname) + SHLIB_LINK += -lc endif ifeq ($(DLSUFFIX), .o) LINK.shared = shlicc -O $(LDREL) |