freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: <freetds AT lists.ibiblio.org>
- Subject: [freetds] libtds or not libtds
- Date: Thu, 8 Jun 2006 17:10:22 +0200
I'm thinking about this patch.
Well.. for who don't understand diff, automake and Makefiles it remove
libtds.so (or similar library) and only produce static library!
I'm not again a shared object but I think that package will be more
updatable if we do not provide this library. Currently only tds
unittests (as we can note from patch) use libtds.so so only packages
like some strange bindings use it. I think that 99% (or more) use
FreeTDS with PHP, Perl or another project that use ODBC (Oracle, Java
and many others) so I don't think many people will complain. Naturally
this should go on final 0.64. It does not broke binary compatibility
more than a major soname update does...
****************************************
diff -u -1 -0 -r1.57 Makefile.am
--- src/tds/Makefile.am 27 Mar 2006 07:22:54 -0000 1.57
+++ src/tds/Makefile.am 8 Jun 2006 09:16:35 -0000
@@ -5,30 +5,20 @@
noinst_LTLIBRARIES = libtds_objects.la
libtds_objects_la_SOURCES= mem.c token.c util.c login.c read.c \
write.c convert.c numeric.c config.c query.c iconv.c \
locale.c challenge.c threadsafe.c vstrbuild.c md4.c \
des.c tdsstring.c getmac.c data.c net.c \
tds_checks.c tds_checks.h
libtds_objects_la_LDFLAGS=
libtds_objects_la_LIBADD=
-lib_LTLIBRARIES = libtds.la
-libtds_la_SOURCES =
-
-# changed for 0.65
-# bump server version whenever bumping libtds
version
-libtds_la_LDFLAGS = -version-info 6:0:0 \
- -export-symbols-regex
'^(tds_|tdsdump_|tds5_|tds7_).*'
-libtds_la_LIBADD = libtds_objects.la
../replacements/libreplacements.la \
- $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
-
noinst_HEADERS = tds_willconvert.h encodings.h num_limits.h
EXTRA_DIST = tds_willconvert.h encodings.h num_limits.h
if HAVE_DOXYGEN
doxyfile: $(srcdir)/tds.dox
cp $(srcdir)/tds.dox doxyfile
## The doxygen configuration file understands environment variables.
doxy: doxyfile $(libtds_objects_la_SOURCES)
diff -u -1 -0 -r1.18 Makefile.am
--- src/tds/unittests/Makefile.am 28 Mar 2006 00:05:57 -0000
1.18
+++ src/tds/unittests/Makefile.am 8 Jun 2006 09:16:35 -0000
@@ -22,12 +22,12 @@
convert_SOURCES = convert.c
dataread_SOURCES = dataread.c common.c common.h
# flags_SOURCES = flags.c common.c common.h
utf8_1_SOURCES = utf8_1.c common.c common.h
utf8_2_SOURCES = utf8_2.c common.c common.h
utf8_3_SOURCES = utf8_3.c common.c common.h
numeric_SOURCES = numeric.c
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(srcdir)/..
AM_LDFLAGS = -no-install
-LIBS = ../libtds.la @NETWORK_LIBS@
+LIBS = ../libtds_objects.la
../../replacements/libreplacements.la @NETWORK_LIBS@
CLEANFILES = tdsdump.out
****************************************
freddy77
- [freetds] libtds or not libtds, ZIGLIO, Frediano, VF-IT, 06/08/2006
Archive powered by MHonArc 2.6.24.