|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
#
|
|
|
|
|
# GNUMakefile for psqlodbc (Postgres ODBC driver)
|
|
|
|
|
#
|
|
|
|
|
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.11 2001/02/10 15:59:16 momjian Exp $
|
|
|
|
|
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.12 2001/02/10 16:51:40 petere Exp $
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
@ -32,16 +32,8 @@ include $(top_srcdir)/src/Makefile.shlib |
|
|
|
|
# Symbols must be resolved to the version in the shared library because
|
|
|
|
|
# the driver manager (e.g., iodbc) provides some symbols with the same
|
|
|
|
|
# names and we don't want those. (This issue is probably ELF specific.)
|
|
|
|
|
#
|
|
|
|
|
# BSD/OS fails with libc and crt1.o undefined symbols without this.
|
|
|
|
|
# bjm 2001-02-09
|
|
|
|
|
#
|
|
|
|
|
ifneq ($(PORTNAME), bsdi) |
|
|
|
|
|
|
|
|
|
LINK.shared += $(shlib_symbolic)
|
|
|
|
|
else |
|
|
|
|
LINK.shared = gcc -shared -Wl,-Bsymbolic,-soname,$(soname)
|
|
|
|
|
SHLIB_LINK += -lc
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
odbc_headers = isql.h isqlext.h iodbc.h
|
|
|
|
|
odbc_includedir = $(includedir)/iodbc
|
|
|
|
|
|