Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4b348f

Browse files
committed
ODBC BSD/OS fix.
1 parenta2a5123 commita4b348f

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/1011:31:35 momjian Exp $
5+
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.11 2001/02/1015: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)

[8]ページ先頭

©2009-2025 Movatter.jp