s4-waf: get the version number right on private libraries
[idra/samba.git] / buildtools / wafsamba / wafsamba.py
index 1d3ced13cebc855fd0904be9f7de9dff2caa0d8a..10b7dfe0f4863e4f704fbecdab68df8e77e99985 100644 (file)
@@ -192,7 +192,7 @@ def SAMBA_LIBRARY(bld, libname, source,
         if vnum:
             Logs.error("vnum is invalid for private libraries")
             sys.exit(1)
-        vnum = Utils.g_module.VERSION
+        vnum = Utils.g_module.VERSION[0]
 
     features = 'cc cshlib symlink_lib install_lib'
     if target_type == 'PYTHON':