waf: remove the restriction that private libraries must not have a vnum
[nivanova/samba-autobuild/.git] / lib / tevent / wscript
index 81cc594fc25acaff6470cf7375bc13941cd48276..14c4c603194e42bf0bb76582a06a0f70fd5d641c 100644 (file)
@@ -71,10 +71,8 @@ def build(bld):
         bld.PKG_CONFIG_FILES('tevent.pc', vnum=VERSION)
         bld.INSTALL_FILES('${INCLUDEDIR}', 'tevent.h')
         private_library = False
-        vnum = VERSION
     else:
         private_library = True
-        vnum = None
 
     if not bld.CONFIG_SET('USING_SYSTEM_TEVENT'):
         bld.SAMBA_LIBRARY('tevent',
@@ -83,7 +81,7 @@ def build(bld):
                           enabled= not bld.CONFIG_SET('USING_SYSTEM_TEVENT'),
                           abi_directory='ABI',
                           abi_match='tevent_* _tevent_*',
-                          vnum=vnum,
+                          vnum=VERSION,
                           private_library=private_library)
 
     bld.SAMBA_PYTHON('pytevent',