Commit 20a034d5 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Include appropriate flags for resolved shared library LDFLAGS_ODBC

 to allow ODBC library to be linked.
parent f5bd98c6
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California # Copyright (c) 1998, Regents of the University of California
# #
# IDENTIFICATION # 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) ...@@ -95,6 +95,7 @@ ifeq ($(PORTNAME), linux)
install-shlib-dep := install-shlib install-shlib-dep := install-shlib
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
LDFLAGS_SL := -shared -soname $(shlib) LDFLAGS_SL := -shared -soname $(shlib)
LDFLAGS_ODBC := -Bsymbolic -lc -lm
CFLAGS += $(CFLAGS_SL) CFLAGS += $(CFLAGS_SL)
endif endif
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # 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@ @SET_MAKE@
...@@ -42,6 +42,7 @@ SHLIB_LINK= $(LIBS) ...@@ -42,6 +42,7 @@ SHLIB_LINK= $(LIBS)
# Shared library stuff, also default 'all' target # Shared library stuff, also default 'all' target
include $(SRCDIR)/Makefile.shlib include $(SRCDIR)/Makefile.shlib
LDFLAGS_SL+= $(LDFLAGS_ODBC)
.PHONY: install install-ini beforeinstall-headers install-headers .PHONY: install install-ini beforeinstall-headers install-headers
......
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