From bd35d903a04c4d388adb4065b0fa271302380895 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 28 May 2011 15:55:39 +0300 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1e7ba612..d94bb7bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -87,6 +87,7 @@ dist-hook: # This works with GNU tar and gives cleaner package than normal 'make dist'. mydist: + sh "$(srcdir)/src/liblzma/validate_map.sh" VERSION=$(VERSION); \ if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ SNAPSHOT=`cd "$(srcdir)" && git describe --abbrev=4 | cut -b2-`; \ -- cgit v1.2.3