install the libs with release and version info via libtool
This commit is contained in:
parent
8ba479a367
commit
970d954215
2 changed files with 7 additions and 1 deletions
|
@ -48,6 +48,9 @@ render_libobrender_la_LIBADD = \
|
|||
$(XFT_LIBS) \
|
||||
$(GLIB_LIBS) \
|
||||
parser/libobparser.la
|
||||
render_libobrender_la_LDFLAGS = \
|
||||
-release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
render_libobrender_la_SOURCES = \
|
||||
gettext.h \
|
||||
render/color.h \
|
||||
|
@ -81,6 +84,9 @@ parser_libobparser_la_CPPFLAGS = \
|
|||
parser_libobparser_la_LIBADD = \
|
||||
$(GLIB_LIBS) \
|
||||
$(XML_LIBS)
|
||||
parser_libobparser_la_LDFLAGS = \
|
||||
-release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
parser_libobparser_la_SOURCES = \
|
||||
parser/parse.h \
|
||||
parser/parse.c
|
||||
|
|
|
@ -28,7 +28,7 @@ AC_SUBST(OB_BINARY_AGE)
|
|||
AC_SUBST(OB_VERSION)
|
||||
|
||||
dnl Libtool versioning
|
||||
LT_RELEASE=$VERSION
|
||||
LT_RELEASE=$OB_MAJOR_VERSION.$OB_MINOR_VERSION
|
||||
LT_CURRENT=`expr $OB_MICRO_VERSION - $OB_INTERFACE_AGE`
|
||||
LT_REVISION=$OB_INTERFACE_AGE
|
||||
LT_AGE=`expr $OB_BINARY_AGE - $OB_INTERFACE_AGE`
|
||||
|
|
Loading…
Reference in a new issue