liblzma: Use symbol versioning.
commitbd35d903a04c4d388adb4065b0fa271302380895
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 28 May 2011 12:55:39 +0000 (28 15:55 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 28 May 2011 12:55:39 +0000 (28 15:55 +0300)
tree4d0d508f4abcfde4bf20afabf9823a3c82a427cd
parentafbb244362c9426a37ce4eb9d54aab768da3adad
liblzma: Use symbol versioning.

Symbol versioning is enabled by default on GNU/Linux,
other GNU-based systems, and FreeBSD.

I'm not sure how stable this is, so it may need
backward-incompatible changes before the next release.

The idea is that alpha and beta symbols are considered
unstable and require recompiling the applications that
use those symbols. Once a symbol is stable, it may get
extended with new features in ways that don't break
compatibility with older ABI & API.

The mydist target runs validate_map.sh which should
catch some probable problems in liblzma.map. Otherwise
I would forget to update the map file for new releases.
Makefile.am
configure.ac
src/liblzma/Makefile.am
src/liblzma/liblzma.map [new file with mode: 0644]
src/liblzma/validate_map.sh [new file with mode: 0644]