summaryrefslogtreecommitdiff
path: root/toxencryptsave
diff options
context:
space:
mode:
authorSergey 'Jin' Bostandzhyan <jin at mediatomb dot cc>2017-01-11 22:41:11 +0100
committerSergey 'Jin' Bostandzhyan <jin at mediatomb dot cc>2017-01-18 11:20:07 +0100
commit3f24f048762736e1a5d785a080fec7e84172e708 (patch)
tree3a0a66087a0d0d97bc19c6f4ee379f923f4ab9e8 /toxencryptsave
parent5ad3c9890574cfe91a856e4836a553973b7da1a9 (diff)
Setup autotools to read .so version info from a separate file
We want to use the same libtool style .so versions in both build systems, ideally both systems should read the version information from the same configuration file. This commit introduces an so.version configuration file and sets up the autotools to use it. The version numbers in so.version define the ABI compatibility and should be updated prior to each release. implements #323
Diffstat (limited to 'toxencryptsave')
-rw-r--r--toxencryptsave/Makefile.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/toxencryptsave/Makefile.inc b/toxencryptsave/Makefile.inc
index 56bc101d..bde026cd 100644
--- a/toxencryptsave/Makefile.inc
+++ b/toxencryptsave/Makefile.inc
@@ -34,7 +34,7 @@ libtoxencryptsave_la_CFLAGS = -I$(top_srcdir) \
34 $(NACL_CFLAGS) \ 34 $(NACL_CFLAGS) \
35 $(PTHREAD_CFLAGS) 35 $(PTHREAD_CFLAGS)
36 36
37libtoxencryptsave_la_LDFLAGS = $(TOXCORE_LT_LDFLAGS) \ 37libtoxencryptsave_la_LDFLAGS = $(LT_LDFLAGS) \
38 $(EXTRA_LT_LDFLAGS) \ 38 $(EXTRA_LT_LDFLAGS) \
39 $(LIBSODIUM_LDFLAGS) \ 39 $(LIBSODIUM_LDFLAGS) \
40 $(NACL_LDFLAGS) \ 40 $(NACL_LDFLAGS) \
@@ -47,3 +47,9 @@ libtoxencryptsave_la_LIBADD = $(LIBSODIUM_LIBS) \
47 $(NAC_LIBS) \ 47 $(NAC_LIBS) \
48 $(PTHREAD_LIBS) \ 48 $(PTHREAD_LIBS) \
49 libtoxcore.la 49 libtoxcore.la
50
51if SET_SO_VERSION
52
53EXTRA_libtoxencryptsave_la_DEPENDENCIES = ../so.version
54
55endif