2
2
#
3
3
# GNUMakefile for psqlodbc (Postgres ODBC driver)
4
4
#
5
- # $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.8 2000/12/16 18:14:25 petere Exp $
5
+ # $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.9 2001/02/10 05:50:27 momjian Exp $
6
6
#
7
7
# -------------------------------------------------------------------------
8
8
@@ -24,7 +24,6 @@ OBJS = info.o bind.o columninfo.o connection.o convert.o drvconn.o \
24
24
gpps.o tuple.o tuplelist.o dlg_specific.o$(OBJX )
25
25
26
26
SHLIB_LINK =$(filter -lm,$(LIBS ) )
27
-
28
27
all : all-lib
29
28
30
29
# Shared library stuff
@@ -33,7 +32,13 @@ include $(top_srcdir)/src/Makefile.shlib
33
32
# Symbols must be resolved to the version in the shared library because
34
33
# the driver manager (e.g., iodbc) provides some symbols with the same
35
34
# names and we don't want those. (This issue is probably ELF specific.)
35
+ #
36
+ # BSD/OS fails with libc and crt1.o undefined symbols without this.
37
+ # bjm 2001-02-09
38
+ #
39
+ ifneq ($(PORTNAME ) , bsdi)
36
40
LINK.shared +=$(shlib_symbolic )
41
+ endif
37
42
38
43
odbc_headers = isql.h isqlext.h iodbc.h
39
44
odbc_includedir =$(includedir ) /iodbc