wafsamba: let SAMBA_BLDOPTIONS() use dep_vars=['defines'] instead of always=True
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Aug 2014 08:08:21 +0000 (10:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 5 Sep 2014 17:47:06 +0000 (19:47 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
buildtools/wafsamba/samba_patterns.py

index 9c0f653d4ea2cbfe3ea14d26583871854a4ee27b..b4427d3688471c28230aff36173c4aabd70cf4bf 100644 (file)
@@ -205,6 +205,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