summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
diff options
context:
space:
mode:
authorMarc G. Fournier1999-05-17 04:13:29 +0000
committerMarc G. Fournier1999-05-17 04:13:29 +0000
commita0b7daa129b082c1420366df0ec53af075d0c316 (patch)
treeec468eae2910dfa2b11f1861e74477f147765136 /src/Makefile.shlib
parent61f618e73e6d82644221fe0b09d4eb343f096b67 (diff)
Apply freebsd specific patches dealign with ELF system from FreeBSD's
ports collection ...
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r--src/Makefile.shlib7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 889f24b8325..a569b73cc32 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.8 1999/04/30 02:04:49 momjian Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.9 1999/05/17 04:13:24 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -59,10 +59,11 @@ install-shlib-dep :=
ifeq ($(PORTNAME), freebsd)
ifdef BSD_SHLIB
install-shlib-dep := install-shlib
- shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
ifdef ELF_SYSTEM
- LDFLAGS_SL := -x -Bshareable
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
+ LDFLAGS_SL := -x -shared -soname $(shlib)
else
+ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LDFLAGS_SL := -x -Bshareable -Bforcearchive
endif
CFLAGS += $(CFLAGS_SL)