|
2 | 2 | #
|
3 | 3 | # GNUMakefile for psqlodbc (Postgres ODBC driver)
|
4 | 4 | #
|
5 |
| -# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.10 2001/02/1011:31:35 momjian Exp $ |
| 5 | +# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.11 2001/02/1015:59:16 momjian Exp $ |
6 | 6 | #
|
7 | 7 | #-------------------------------------------------------------------------
|
8 | 8 |
|
@@ -36,9 +36,11 @@ include $(top_srcdir)/src/Makefile.shlib
|
36 | 36 | # BSD/OS fails with libc and crt1.o undefined symbols without this.
|
37 | 37 | # bjm 2001-02-09
|
38 | 38 | #
|
| 39 | +ifneq ($(PORTNAME), bsdi) |
39 | 40 | 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 |
42 | 44 | endif
|
43 | 45 |
|
44 | 46 | odbc_headers = isql.h isqlext.h iodbc.h
|
|