From d9d873cd94225ece888d2d4187a6dbda44efa09f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 27 Aug 2014 10:08:21 +0200 Subject: [PATCH] wafsamba: let SAMBA_BLDOPTIONS() use dep_vars=['defines'] instead of always=True Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam (cherry picked from commit a41a9ad0749755d612df81bb77384b4f479e1af2) --- buildtools/wafsamba/samba_patterns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/wafsamba/samba_patterns.py b/buildtools/wafsamba/samba_patterns.py index 55ed540670c..62d988e7603 100644 --- a/buildtools/wafsamba/samba_patterns.py +++ b/buildtools/wafsamba/samba_patterns.py @@ -202,6 +202,6 @@ def SAMBA_BLDOPTIONS(bld, target): '''generate the bld_options.c for Samba''' t = bld.SAMBA_GENERATOR(target, rule=write_build_options, - target=target, - always=True) + dep_vars=['defines'], + target=target) Build.BuildContext.SAMBA_BLDOPTIONS = SAMBA_BLDOPTIONS -- 2.11.4.GIT