wafsamba: fix dependency for SAMBA_GENERATOR() when passing vars!=None
commitf0cf2c0501eeb540eca8e3ae0123fd9caed31f0f
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Aug 2014 21:11:39 +0000 (26 23:11 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Nov 2014 20:21:12 +0000 (17 21:21 +0100)
treebcaba177cdb7df83e430682ae3a1d9e5ad2ac469
parentae97d88bda2a40376f8703b3dbd69551de80ead1
wafsamba: fix dependency for SAMBA_GENERATOR() when passing vars!=None

vars can only be a dictionary as that's the only thing bld.EXPAND_VARIABLES()
accepts.

We need to checksum the whole vars dictionary into the dependencies.

We set task.env.SAMBA_GENERATOR_VARS = vars and add SAMBA_GENERATOR_VARS
to the dep_vars.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10472

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit da8c76354549a64181cffc36e1c0bb0c6c4f87d3)
buildtools/wafsamba/wafsamba.py