summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-24 11:50:47 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-10-26 10:17:18 -0700
commit50256c01d061c6d73bb2d8ee2c60785d58748e6c (patch)
tree3a450c294f273aca16126a990f9c86a5643caa2a /source4/lib/ldb/wscript
parenta74e8be6d1448f121181e6d7cca3841891321a12 (diff)
downloadsamba-50256c01d061c6d73bb2d8ee2c60785d58748e6c.tar.gz
samba-50256c01d061c6d73bb2d8ee2c60785d58748e6c.tar.bz2
samba-50256c01d061c6d73bb2d8ee2c60785d58748e6c.zip
waf: Only specify vnum for non-private libraries.
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript8
1 files changed, 6 insertions, 2 deletions
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',