mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Add library version
This commit is contained in:
parent
45188cfad1
commit
b4e28221e8
14
configure.ac
14
configure.ac
@ -12,6 +12,20 @@ AC_SUBST(VERSION)
|
||||
ISODATE=`date +%Y-%m-%d`
|
||||
AC_SUBST(ISODATE)
|
||||
|
||||
SODIUM_LIBRARY_VERSION=0:0:0
|
||||
# | | |
|
||||
# +------+ | +---+
|
||||
# | | |
|
||||
# current:revision:age
|
||||
# | | |
|
||||
# | | +- increment if interfaces have been added
|
||||
# | | set to zero if interfaces have been removed
|
||||
# | | or changed
|
||||
# | +- increment if source code has changed
|
||||
# | set to zero if current is incremented
|
||||
# +- increment if interfaces have been added, removed or changed
|
||||
AC_SUBST(SODIUM_LIBRARY_VERSION)
|
||||
|
||||
LX_CFLAGS=${CFLAGS-NONE}
|
||||
AC_PROG_CC_C99
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
@ -82,7 +82,8 @@ EXTRA_DIST = \
|
||||
libsodium_la_LDFLAGS = \
|
||||
$(AM_LDFLAGS) \
|
||||
-export-dynamic \
|
||||
-no-undefined
|
||||
-no-undefined \
|
||||
-version-info $(SODIUM_LIBRARY_VERSION)
|
||||
|
||||
libsodium_la_CPPFLAGS = \
|
||||
$(LTDLINCL) \
|
||||
|
Loading…
Reference in New Issue
Block a user