summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
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 /source4/lib/ldb
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 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/wscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index b785fefa10..c75525d106 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -74,10 +74,8 @@ def build(bld):
if bld.env.standalone_ldb:
private_library = False
- vnum = VERSION
else:
private_library = True
- vnum = None
LDB_MAP_SRC = bld.SUBDIR('ldb_map',
'ldb_map.c ldb_map_inbound.c ldb_map_outbound.c')
@@ -108,7 +106,7 @@ def build(bld):
deps='ldb',
source='pyldb_util.c',
public_headers='pyldb.h',
- vnum=vnum,
+ vnum=VERSION,
private_library=private_library,
pc_files='pyldb-util.pc',
pyext=True)
@@ -130,7 +128,7 @@ 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=vnum,
+ vnum=VERSION,
private_library=private_library,
manpages='man/ldb.3',
abi_directory = 'ABI',