1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

ODBC BSD/OS fix.

This commit is contained in:
Bruce Momjian 2001-02-10 15:59:16 +00:00
parent a2a51234dd
commit a4b348f48f

View File

@ -2,7 +2,7 @@
# #
# GNUMakefile for psqlodbc (Postgres ODBC driver) # GNUMakefile for psqlodbc (Postgres ODBC driver)
# #
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.10 2001/02/10 11:31:35 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.11 2001/02/10 15:59:16 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -36,9 +36,11 @@ include $(top_srcdir)/src/Makefile.shlib
# BSD/OS fails with libc and crt1.o undefined symbols without this. # BSD/OS fails with libc and crt1.o undefined symbols without this.
# bjm 2001-02-09 # bjm 2001-02-09
# #
ifneq ($(PORTNAME), bsdi)
LINK.shared += $(shlib_symbolic) LINK.shared += $(shlib_symbolic)
ifeq ($(PORTNAME), bsdi) else
SHLIB_LINK += -lc -R /usr/lib/crt1.o LINK.shared = gcc -shared -Wl,-Bsymbolic,-soname,$(soname)
SHLIB_LINK += -lc
endif endif
odbc_headers = isql.h isqlext.h iodbc.h odbc_headers = isql.h isqlext.h iodbc.h