From 50256c01d061c6d73bb2d8ee2c60785d58748e6c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 24 Oct 2010 11:50:47 -0700 Subject: waf: Only specify vnum for non-private libraries. --- source4/lib/ldb/wscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index cdf13c3fd2..6b5f0c3e1b 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -130,9 +130,13 @@ def build(bld): # do ABI checking on the standalone ldb abi_file = 'ABI/ldb-%s.sigs' % VERSION abi_match = '!ldb_*module_ops !ldb_*backend_ops ldb_*' + private_library = False + vnum = VERSION else: abi_file = None abi_match = None + private_library = True + vnum = None bld.SAMBA_LIBRARY('ldb', COMMON_SRC + ' ' + LDB_MAP_SRC, @@ -141,10 +145,10 @@ def build(bld): public_headers='include/ldb.h include/ldb_errors.h '\ 'include/ldb_module.h include/ldb_handlers.h', pc_files='ldb.pc', - vnum=VERSION, manpages='man/ldb.3', + vnum=vnum, manpages='man/ldb.3', abi_file = abi_file, abi_match = abi_match, - private_library=not bld.env.standalone_ldb) + private_library=private_library) bld.SAMBA_PYTHON('pyldb', 'pyldb.c', deps='ldb pyldb-util', -- cgit