From 57f2f1d72a70a80e61a2ed6f1abc63a177a590ab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 9 Dec 2010 21:58:20 +1100 Subject: 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 Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104 --- lib/tdb/wscript | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/tdb') 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', -- cgit