]> granicus.if.org Git - postgresql/commitdiff
Include appropriate flags for resolved shared library LDFLAGS_ODBC
authorThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 28 Oct 1998 06:49:10 +0000 (06:49 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 28 Oct 1998 06:49:10 +0000 (06:49 +0000)
 to allow ODBC library to be linked.

src/Makefile.shlib
src/interfaces/odbc/GNUmakefile.in

index d1557f0128bb4c552141fb8f5b73641260b3a72e..838f880469d75a265652b1071ed5cca8a02530cc 100644 (file)
@@ -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
 
index 2479baa34e367d233a4d36c03c0153e42ca90a1d..64ffee8825f1b588d7e93b99e457b353d9b9d67f 100644 (file)
@@ -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