From 16c36a8cb56f3a74927cdb7c46dfb6158f328beb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 8 Dec 2010 14:58:12 +1100 Subject: s3-waf: fixed version number handling --- source3/wscript_build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/wscript_build') diff --git a/source3/wscript_build b/source3/wscript_build index 983b67039c..cf5293bd78 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1,6 +1,7 @@ #!/usr/bin/env python from samba_utils import * +import samba_version TDB_LIB_SRC = '''lib/util_tdb.c ../lib/util/util_tdb.c lib/dbwrap.c lib/dbwrap_tdb.c @@ -735,6 +736,8 @@ t.env.BUILDDIR = bld.path.abspath() bld.SETUP_BUILD_GROUPS() +samba_version.load_version(bld.env) + bld.SAMBA_MKVERSION('include/version.h') bld.RECURSE('../lib/replace') -- cgit