Commit af45dab6 authored by Bruce Momjian's avatar Bruce Momjian

Fix for BSDI shared libraries.

parent 76392f8c
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
* *
* *
* IDENTIFICATION * 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 * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
......
...@@ -556,7 +556,7 @@ char *yytext; ...@@ -556,7 +556,7 @@ char *yytext;
* *
* *
* IDENTIFICATION * 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 $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 ...@@ -51,14 +51,14 @@ endif
ifeq ($(PORTNAME), bsdi) ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so) ifeq ($(DLSUFFIX), .so)
install-shlib-dep := install-shlib install-shlib-dep := install-shlib
shlib := libpgtcl.so shlib := libpgtcl.so
LD := shlicc LD := shlicc
LDFLAGS_SL += -O -shared LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL) CFLAGS += $(CFLAGS_SL)
endif endif
ifeq ($(LDSUFFIX), .o) ifeq ($(DLSUFFIX), .o)
install-shlib-dep := install-shlib install-shlib-dep := install-shlib
shlib := libpgtcl.o shlib := libpgtcl.o
LD := shlicc LD := shlicc
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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 ...@@ -58,14 +58,14 @@ endif
ifeq ($(PORTNAME), bsdi) ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so) ifeq ($(DLSUFFIX), .so)
install-shlib-dep := install-shlib install-shlib-dep := install-shlib
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LD := shlicc LD := shlicc
LDFLAGS_SL += -O -shared LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL) CFLAGS += $(CFLAGS_SL)
endif endif
ifeq ($(LDSUFFIX), .o) ifeq ($(DLSUFFIX), .o)
install-shlib-dep := install-shlib install-shlib-dep := install-shlib
shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LD :=shlicc LD :=shlicc
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object # Makefile for the plpgsql shared object
# #
# IDENTIFICATION # 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 ...@@ -42,12 +42,12 @@ endif
ifeq ($(PORTNAME), bsdi) ifeq ($(PORTNAME), bsdi)
ifdef BSD_SHLIB ifdef BSD_SHLIB
ifeq ($(LDSUFFIX), .so) ifeq ($(DLSUFFIX), .so)
LD := shlicc LD := shlicc
LDFLAGS_SL += -O -shared LDFLAGS_SL += -O -shared
CFLAGS += $(CFLAGS_SL) CFLAGS += $(CFLAGS_SL)
endif endif
ifeq ($(LDSUFFIX), .o) ifeq ($(DLSUFFIX), .o)
LD := shlicc LD := shlicc
LDFLAGS_SL += -O -r LDFLAGS_SL += -O -r
CFLAGS += $(CFLAGS_SL) CFLAGS += $(CFLAGS_SL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment