From d5bf5255917862f35bb6849a407539c43cde2b04 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 8 Dec 2010 11:25:28 +1100 Subject: 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 --- source4/wscript_build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/wscript_build') 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() -- cgit