From 20a034d5bdef8a773e8429c257f4543cf4036a41 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lockhart" Date: Wed, 28 Oct 1998 06:49:10 +0000 Subject: [PATCH] Include appropriate flags for resolved shared library LDFLAGS_ODBC to allow ODBC library to be linked. --- src/Makefile.shlib | 3 ++- src/interfaces/odbc/GNUmakefile.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile.shlib b/src/Makefile.shlib index d1557f0128..838f880469 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.1 1998/10/19 00:00:40 tgl Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.2 1998/10/28 06:49:04 thomas Exp $ # #------------------------------------------------------------------------- @@ -95,6 +95,7 @@ ifeq ($(PORTNAME), linux) install-shlib-dep := install-shlib shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) LDFLAGS_SL := -shared -soname $(shlib) + LDFLAGS_ODBC := -Bsymbolic -lc -lm CFLAGS += $(CFLAGS_SL) endif diff --git a/src/interfaces/odbc/GNUmakefile.in b/src/interfaces/odbc/GNUmakefile.in index 2479baa34e..64ffee8825 100644 --- a/src/interfaces/odbc/GNUmakefile.in +++ b/src/interfaces/odbc/GNUmakefile.in @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.8 1998/10/21 05:39:19 thomas Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.9 1998/10/28 06:49:10 thomas Exp $ # #------------------------------------------------------------------------- @SET_MAKE@ @@ -42,6 +42,7 @@ SHLIB_LINK= $(LIBS) # Shared library stuff, also default 'all' target include $(SRCDIR)/Makefile.shlib +LDFLAGS_SL+= $(LDFLAGS_ODBC) .PHONY: install install-ini beforeinstall-headers install-headers -- 2.40.0