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

Commit a4b348f

Browse files
committed
ODBC BSD/OS fix.
1 parent a2a5123 commit a4b348f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/interfaces/odbc/GNUmakefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# GNUMakefile for psqlodbc (Postgres ODBC driver)
44
#
5-
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.10 2001/02/10 11:31:35 momjian Exp $
5+
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.11 2001/02/10 15:59:16 momjian Exp $
66
#
77
#-------------------------------------------------------------------------
88

@@ -36,9 +36,11 @@ include $(top_srcdir)/src/Makefile.shlib
3636
# BSD/OS fails with libc and crt1.o undefined symbols without this.
3737
# bjm 2001-02-09
3838
#
39+
ifneq ($(PORTNAME), bsdi)
3940
LINK.shared += $(shlib_symbolic)
40-
ifeq ($(PORTNAME), bsdi)
41-
SHLIB_LINK += -lc -R /usr/lib/crt1.o
41+
else
42+
LINK.shared = gcc -shared -Wl,-Bsymbolic,-soname,$(soname)
43+
SHLIB_LINK += -lc
4244
endif
4345

4446
odbc_headers = isql.h isqlext.h iodbc.h

0 commit comments

Comments
 (0)