]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 18 Nov 2014 20:09:04 +0000 (21:09 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a41a9ad0749755d612df81bb77384b4f479e1af2)

buildtools/wafsamba/samba_patterns.py

index 615d918ba633c089efb5558e685a1ae2e2f1c838..953ef49a7c248b6de692389a54ac67f4562706fe 100644 (file)
@@ -199,6 +199,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