]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
wafsamba: SAMBA_GENERATOR() should not alter the callers dep_vars
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Aug 2021 15:54:31 +0000 (17:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Nov 2021 15:53:34 +0000 (15:53 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/wafsamba.py

index da6b28b17476f201945d25eddaf358c5b40b2242..c3806baf3b2e1f413e6110c88147c1704fad9aba 100644 (file)
@@ -680,6 +680,7 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='',
     if not enabled:
         return
 
+    dep_vars = TO_LIST(dep_vars)
     dep_vars.append('ruledeps')
     dep_vars.append('SAMBA_GENERATOR_VARS')