summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-09 11:10:45 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-09 13:17:19 +1100
commitebe2867fc2c01fb5288d62eedb0e2f43788b9f27 (patch)
tree7107cdb3efebf7b13aa591442c2b5ef0484674fd /source4/lib/ldb
parent2771266defbf92373787e7f0fb795de713a02770 (diff)
downloadsamba-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 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 8a4e83b69d..b785fefa10 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -121,7 +121,6 @@ def build(bld):
# the current modules, not the installed ones
modules_dir = os.path.join(os.getcwd(), 'bin/modules/ldb')
- abi_file = 'ABI/ldb-%s.sigs' % VERSION
abi_match = '!ldb_*module_ops !ldb_*backend_ops ldb_*'
bld.SAMBA_LIBRARY('ldb',
@@ -134,7 +133,7 @@ def build(bld):
vnum=vnum,
private_library=private_library,
manpages='man/ldb.3',
- abi_file = abi_file,
+ abi_directory = 'ABI',
abi_match = abi_match)