diff options
| author | Bruce Momjian | 2001-02-10 16:25:10 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2001-02-10 16:25:10 +0000 |
| commit | fd866b458021605d8466ac29db22482ee33065bf (patch) | |
| tree | ec2e84e340759223db06d8c2a48bc178e576ce24 /src/Makefile.shlib | |
| parent | a4b348f48fb917d7d45aaaa3d137f5706cff30f0 (diff) | |
Remove protcol option buttons.
Diffstat (limited to 'src/Makefile.shlib')
| -rw-r--r-- | src/Makefile.shlib | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 6506d6d5b9..e8aee43b19 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.38 2001/02/04 14:09:33 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.39 2001/02/10 16:25:10 momjian Exp $ # #------------------------------------------------------------------------- @@ -112,7 +112,7 @@ endif ifeq ($(PORTNAME), openbsd) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) ifdef ELF_SYSTEM - LINK.shared = $(LD) -x -Bshareable -soname $(soname) + LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname) else LINK.shared = $(LD) -x -Bshareable -Bforcearchive endif @@ -121,7 +121,7 @@ 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) endif ifeq ($(DLSUFFIX), .o) LINK.shared = shlicc -O $(LDREL) @@ -131,7 +131,7 @@ endif ifeq ($(PORTNAME), freebsd) ifdef ELF_SYSTEM shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) - LINK.shared = $(LD) -x -shared -soname $(soname) + LINK.shared = $(COMPILER) -shared -Wl,-x,-soname,$(soname) else shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LINK.shared = $(LD) -x -Bshareable -Bforcearchive @@ -165,13 +165,12 @@ endif ifeq ($(PORTNAME), solaris) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) - LINK.shared = $(COMPILER) -G ifeq ($(with_gnu_ld), yes) - LINK.shared += -Wl,-soname,$(soname) + LINK.shared = $(COMPILER) -G -Wl,-soname,$(soname) else - LINK.shared += -Wl,-h,$(soname) + LINK.shared = $(COMPILER) -G -Wl,-h,$(soname) endif - SHLIB_LINK += -lm -lc + SHLIB_LINK = $(COMPILER) -G -lm -lc endif ifeq ($(PORTNAME), osf) |
