summaryrefslogtreecommitdiff
path: root/lib/tdb/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-09 21:58:20 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-09 12:47:40 +0100
commit57f2f1d72a70a80e61a2ed6f1abc63a177a590ab (patch)
treef034ee148b05cc9f59c9f96128c165d363009a5b /lib/tdb/wscript
parentca247bee2fbd444dfd1abe94c83472ac8e3c1ad1 (diff)
downloadsamba-57f2f1d72a70a80e61a2ed6f1abc63a177a590ab.tar.gz
samba-57f2f1d72a70a80e61a2ed6f1abc63a177a590ab.tar.bz2
samba-57f2f1d72a70a80e61a2ed6f1abc63a177a590ab.zip
waf: remove the restriction that private libraries must not have a vnum
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r--lib/tdb/wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 5fc64aa9e6..fadd24f60f 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -66,11 +66,9 @@ def build(bld):
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
bld.PKG_CONFIG_FILES('tdb.pc', vnum=VERSION)
bld.INSTALL_FILES('${INCLUDEDIR}', 'include/tdb.h', flat=True)
- vnum = VERSION
private_library = False
else:
private_library = True
- vnum = None
if not bld.CONFIG_SET('USING_SYSTEM_TDB'):
bld.SAMBA_LIBRARY('tdb',
@@ -80,7 +78,7 @@ def build(bld):
abi_directory='ABI',
abi_match='tdb_*',
hide_symbols=True,
- vnum=vnum,
+ vnum=VERSION,
private_library=private_library)
bld.SAMBA_BINARY('tdbtorture',