Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 20a034d

Browse files
author
Thomas G. Lockhart
committed
Include appropriate flags for resolved shared library LDFLAGS_ODBC
to allow ODBC library to be linked.
1 parent f5bd98c commit 20a034d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Makefile.shlib

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Copyright (c) 1998, Regents of the University of California
77
#
88
# IDENTIFICATION
9-
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.1 1998/10/19 00:00:40 tgl Exp $
9+
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.2 1998/10/28 06:49:04 thomas Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -95,6 +95,7 @@ ifeq ($(PORTNAME), linux)
9595
install-shlib-dep := install-shlib
9696
shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
9797
LDFLAGS_SL := -shared -soname $(shlib)
98+
LDFLAGS_ODBC := -Bsymbolic -lc -lm
9899
CFLAGS += $(CFLAGS_SL)
99100
endif
100101

src/interfaces/odbc/GNUmakefile.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.8 1998/10/21 05:39:19 thomas Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile.in,v 1.9 1998/10/28 06:49:10 thomas Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313
@SET_MAKE@
@@ -42,6 +42,7 @@ SHLIB_LINK= $(LIBS)
4242
# Shared library stuff, also default 'all' target
4343
include $(SRCDIR)/Makefile.shlib
4444

45+
LDFLAGS_SL+= $(LDFLAGS_ODBC)
4546

4647
.PHONY: install install-ini beforeinstall-headers install-headers
4748

0 commit comments

Comments
 (0)