toxcore/other
Carsten Brandt 3520eee05d SO versions for cmake and libtool
this updates the version-sync script to generate proper SO versions
which will be used by cmake and libtool to create version symlinks
on the system when a library is installed as well as setting the SO
version in the binary.

To see what this does, you have to configure tox with a prefix:

    ./configure --prefix=/tmp/tox-with-libtool
    mkdir cbuild && cd cbuild && cmake -DCMAKE_INSTALL_PREFIX=/tmp/tox-with-cmake ..

Then run `make && make install`.

in both instances you should see the following installed in `lib/`:

    libtoxcore.so -> libtoxcore.so.1.4.0
    libtoxcore.so.1 -> libtoxcore.so.1.4.0
    libtoxcore.so.1.4.0

inside the binary the soname should be the one with .1 and it should not
contain the full version:

    $ objdump -p libtoxcore.so.1.4.0 | grep SONAME
      SONAME               libtoxcore.so.1
2017-01-18 11:20:07 +01:00
..
astyle Fix unresolved reference in toxencryptsave API. 2016-12-14 11:35:43 +00:00
bootstrap_daemon Revert "Revert "Portability fixes"" 2017-01-06 04:20:00 -08:00
fun Minor cleanups: header reordering, adding {}. 2016-09-09 19:30:50 +01:00
pkgconfig Add compatibility pkg-config modules: libtoxcore, libtoxav. 2016-12-13 20:58:32 +00:00
travis Fix NaCl build: tar was called incorrectly. 2017-01-08 16:37:56 +00:00
bootstrap_node_packets.c Make toxcore code C++ compatible. 2016-09-24 21:53:50 +01:00
bootstrap_node_packets.h Put config-related functions in a separate file 2016-01-01 00:19:35 -05:00
DHT_bootstrap.c Revert "Revert "Portability fixes"" 2017-01-06 04:20:00 -08:00
DHTnodes Link changes. 2015-07-07 22:57:11 -04:00
Makefile.inc Add a separate configure switch for DHT_bootstrap 2017-01-03 20:42:07 +00:00
osx_build_script_toxcore.sh Move OS X install script 2015-02-03 12:48:15 -05:00
tox.png Added logo in readme to repo. 2013-08-14 12:35:55 -04:00
version-sync SO versions for cmake and libtool 2017-01-18 11:20:07 +01:00