Include appropriate flags for resolved shared library LDFLAGS_ODBC
to allow ODBC library to be linked.
This commit is contained in:
parent
f5bd98c67d
commit
20a034d5bd
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user