s4-waf: get the version number right on private libraries
[ira/wip.git] / source4 / wscript_build
index 474aca686c4e2c6846dd401abeffa296bbc2c080..27c69328e0e4388f2ba32c207ef5e3ff76884632 100644 (file)
@@ -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()