Fix for BSDI shared libraries.

This commit is contained in:
Bruce Momjian 1998-10-09 03:08:00 +00:00
parent 76392f8cc4
commit af45dab6d7
5 changed files with 11 additions and 11 deletions

View File

@ -229,7 +229,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.41 1998/10/08 18:29:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.42 1998/10/09 03:07:51 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT

View File

@ -556,7 +556,7 @@ char *yytext;
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.29 1998/10/08 18:29:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.30 1998/10/09 03:07:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.22 1998/10/07 06:50:26 thomas Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.23 1998/10/09 03:07:56 momjian Exp $
#
#-------------------------------------------------------------------------
@ -51,14 +51,14 @@ endif
ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so)
ifeq ($(DLSUFFIX), .so)
install-shlib-dep := install-shlib
shlib := libpgtcl.so
LD := shlicc
LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL)
endif
ifeq ($(LDSUFFIX), .o)
ifeq ($(DLSUFFIX), .o)
install-shlib-dep := install-shlib
shlib := libpgtcl.o
LD := shlicc

View File

@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.30 1998/10/07 06:50:33 thomas Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.31 1998/10/09 03:07:57 momjian Exp $
#
#-------------------------------------------------------------------------
@ -58,14 +58,14 @@ endif
ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so)
ifeq ($(DLSUFFIX), .so)
install-shlib-dep := install-shlib
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LD := shlicc
LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL)
endif
ifeq ($(LDSUFFIX), .o)
ifeq ($(DLSUFFIX), .o)
install-shlib-dep := install-shlib
shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LD :=shlicc

View File

@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.1 1998/10/08 23:45:17 momjian Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.2 1998/10/09 03:08:00 momjian Exp $
#
#-------------------------------------------------------------------------
@ -42,12 +42,12 @@ endif
ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so)
ifeq ($(DLSUFFIX), .so)
LD := shlicc
LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL)
endif
ifeq ($(LDSUFFIX), .o)
ifeq ($(DLSUFFIX), .o)
LD := shlicc
LDFLAGS_SL += -O -r
CFLAGS += $(CFLAGS_SL)