diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-12-09 11:10:45 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-12-09 13:17:19 +1100 |
commit | ebe2867fc2c01fb5288d62eedb0e2f43788b9f27 (patch) | |
tree | 7107cdb3efebf7b13aa591442c2b5ef0484674fd /lib | |
parent | 2771266defbf92373787e7f0fb795de713a02770 (diff) | |
download | samba-ebe2867fc2c01fb5288d62eedb0e2f43788b9f27.tar.gz samba-ebe2867fc2c01fb5288d62eedb0e2f43788b9f27.tar.bz2 samba-ebe2867fc2c01fb5288d62eedb0e2f43788b9f27.zip |
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 <jelmer@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/wscript | 4 | ||||
-rw-r--r-- | lib/tdb/wscript | 2 | ||||
-rw-r--r-- | lib/tevent/wscript | 2 |
3 files changed, 4 insertions, 4 deletions
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, diff --git a/lib/tdb/wscript b/lib/tdb/wscript index febd76b043..5fc64aa9e6 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -77,7 +77,7 @@ def build(bld): COMMON_SRC, deps='replace', includes='include', - abi_file='ABI/tdb-%s.sigs' % VERSION, + abi_directory='ABI', abi_match='tdb_*', hide_symbols=True, vnum=vnum, diff --git a/lib/tevent/wscript b/lib/tevent/wscript index 8f8820f5a1..81cc594fc2 100644 --- a/lib/tevent/wscript +++ b/lib/tevent/wscript @@ -81,7 +81,7 @@ def build(bld): SRC, deps='replace talloc', enabled= not bld.CONFIG_SET('USING_SYSTEM_TEVENT'), - abi_file='ABI/tevent-%s.sigs' % VERSION, + abi_directory='ABI', abi_match='tevent_* _tevent_*', vnum=vnum, private_library=private_library) |