From ebe2867fc2c01fb5288d62eedb0e2f43788b9f27 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 9 Dec 2010 11:10:45 +1100 Subject: waf-abi: auto-generate per-symbol versions from ABI files This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij Pair-Programmed-With: Andrew Bartlett --- lib/talloc/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/talloc') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index e83caa5f4e..3d359c1281 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -96,7 +96,7 @@ def build(bld): bld.SAMBA_LIBRARY('talloc', 'talloc.c', deps='replace', - abi_file='ABI/talloc-%s.sigs' % VERSION, + abi_directory='ABI', abi_match='talloc* _talloc*', hide_symbols=True, vnum=vnum, @@ -108,7 +108,7 @@ def build(bld): bld.SAMBA_LIBRARY('pytalloc-util', source='pytalloc_util.c', public_deps='talloc', - abi_file='ABI/pytalloc-util-%s.sigs' % VERSION, + abi_directory='ABI', abi_match='py* Py*', pyext=True, vnum=vnum, -- cgit