wafsamba: fix dependency for SAMBA_GENERATOR() when passing vars!=None
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Aug 2014 21:11:39 +0000 (23:11 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Sep 2014 17:47:05 +0000 (19:47 +0200)
commitda8c76354549a64181cffc36e1c0bb0c6c4f87d3
tree8a69a663b48c354acb8b89c4351d22c4ae581f4c
parentee8fbbd41741e958e0ab6d7b9ab465d664abac60
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>
buildtools/wafsamba/wafsamba.py