[Opensrf-commits] r2123 - trunk/src/c-apps (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Dec 7 09:30:47 EST 2010


Author: dbs
Date: 2010-12-07 09:30:45 -0500 (Tue, 07 Dec 2010)
New Revision: 2123

Modified:
   trunk/src/c-apps/Makefile.am
Log:
Apply libtools versioning to OpenSRF c-apps as well

We apply a -version-info argument of 2:0:2, meaning:
  * interface = 2: interface '2' of this library
  * revision = 0: first implementation of interface '2'
  * age = 2: this library can be linked with executables going back
    two interface versions 

See http://sourceware.org/autobook/autobook/autobook_91.html for more
information on the -version-info argument.


Modified: trunk/src/c-apps/Makefile.am
===================================================================
--- trunk/src/c-apps/Makefile.am	2010-12-01 03:11:53 UTC (rev 2122)
+++ trunk/src/c-apps/Makefile.am	2010-12-07 14:30:45 UTC (rev 2123)
@@ -24,13 +24,13 @@
 timejson_LDADD = @top_builddir@/src/libopensrf/libopensrf.la
 
 osrf_dbmath_la_SOURCES = osrf_dbmath.c 
-osrf_dbmath_la_LDFLAGS = $(AM_LDFLAGS) -module
+osrf_dbmath_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
 osrf_dbmath_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la
 
 osrf_math_la_SOURCES = osrf_math.c
-osrf_math_la_LDFLAGS = $(AM_LDFLAGS) -module
+osrf_math_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
 osrf_math_la_LIBADD =  @top_builddir@/src/libopensrf/libopensrf.la
 
 osrf_version_la_SOURCES = osrf_version.c 
-osrf_version_la_LDFLAGS = $(AM_LDFLAGS) -module
+osrf_version_la_LDFLAGS = $(AM_LDFLAGS) -module -version-info 2:0:2
 osrf_version_la_LIBADD = @top_builddir@/src/libopensrf/libopensrf.la



More information about the opensrf-commits mailing list