diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-12-08 11:25:28 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-12-08 05:26:06 +0100 |
commit | d5bf5255917862f35bb6849a407539c43cde2b04 (patch) | |
tree | 29c63dea9a6f52bfcde0a2433a4a8eeac5cf7765 /buildtools/wafsamba/wafsamba.py | |
parent | 18177f1e52e2767e1266f44ea32a8f8d82a17b74 (diff) | |
download | samba-d5bf5255917862f35bb6849a407539c43cde2b04.tar.gz samba-d5bf5255917862f35bb6849a407539c43cde2b04.tar.bz2 samba-d5bf5255917862f35bb6849a407539c43cde2b04.zip |
s4-waf: get the version number right on private libraries
use the first digit of the version number for the library version
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 1d3ced13ce..10b7dfe0f4 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -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': |