summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart1998-10-28 06:49:10 +0000
committerThomas G. Lockhart1998-10-28 06:49:10 +0000
commit20a034d5bdef8a773e8429c257f4543cf4036a41 (patch)
tree803f302fb1a4d29a7ba5de8f994988e3529bd7d9
parentf5bd98c67d99c56f72500b3e54175f5a873ab60e (diff)
Include appropriate flags for resolved shared library LDFLAGS_ODBC
to allow ODBC library to be linked.
-rw-r--r--src/Makefile.shlib3
-rw-r--r--src/interfaces/odbc/GNUmakefile.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index d1557f0128b..838f880469d 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 2479baa34e3..64ffee8825f 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