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 /source4/wscript_build | |
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 'source4/wscript_build')
-rw-r--r-- | source4/wscript_build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/wscript_build b/source4/wscript_build index 474aca686c..27c69328e0 100644 --- a/source4/wscript_build +++ b/source4/wscript_build @@ -5,11 +5,14 @@ import os srcdir = ".." +import samba_version + # create separate build groups for building the asn1 and et compiler, then # building the C from ASN1 and IDL, and finally the main build process bld.SETUP_BUILD_GROUPS() bld.AUTOCLEANUP_STALE_FILES() +samba_version.load_version(bld.env) bld.SAMBA_MKVERSION('version.h') # bld.ENABLE_MAGIC_ORDERING() |