freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Harry Felder <harry AT rentec.com>
- To: freetds AT franklin.metalab.unc.edu
- Subject: Patch for .../src/dblib/Makefile.am
- Date: Wed, 12 Jun 2002 18:24:24 -0400
Hi all:
Below is a small patch to the cvs HEAD to force linking of the network
libs (-lsocket and -lnsl on Solaris) for libsybdb.so it now uses
gethostbyname, inet_addr, etc.
hf
diff -c -r1.4 Makefile.am
*** freetds/src/dblib/Makefile.am 17 Feb 2002 20:23:37 -0000 1.4
--- freetds/src/dblib/Makefile.am 12 Jun 2002 22:11:44 -0000
***************
*** 6,10 ****
libsybdb_la_SOURCES= dblib.c dbutil.c rpc.c bcp.c xact.c
libsybdb_la_LDFLAGS= -version-info 1 0 0
libsybdb_la_LIBADD= $(patsubst %, $(TDSDIR)/%, \
! $(patsubst %.c, %.lo, $(TDSSOURCES)))
INCLUDES = -I$(top_srcdir)/include
--- 6,10 ----
libsybdb_la_SOURCES= dblib.c dbutil.c rpc.c bcp.c xact.c
libsybdb_la_LDFLAGS= -version-info 1 0 0
libsybdb_la_LIBADD= $(patsubst %, $(TDSDIR)/%, \
! $(patsubst %.c, %.lo, $(TDSSOURCES))) $(NETWORK_LIBS)
INCLUDES = -I$(top_srcdir)/include
- Patch for .../src/dblib/Makefile.am, Harry Felder, 06/12/2002
Archive powered by MHonArc 2.6.24.