waf: remove the restriction that private libraries must not have a vnum
[nivanova/samba-autobuild/.git] / source4 / lib / ldb / wscript
index b785fefa10241f54bc3aae1cf298f164109afb90..c75525d10620c96dd87110f4b69d8fa8b4d81bb4 100644 (file)
@@ -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',