diff options
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 5ffe4b8f9b..21ed001372 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -484,7 +484,8 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='', group='generators', enabled=True, public_headers=None, header_path=None, - vars=None): + vars=None, + always=False): '''A generic source generator target''' if not SET_TARGET_TYPE(bld, name, 'GENERATOR'): @@ -504,6 +505,9 @@ def SAMBA_GENERATOR(bld, name, rule, source='', target='', ext_out='.c', name=name) + if always: + t.always = True + if public_headers is not None: bld.PUBLIC_HEADERS(public_headers, header_path=header_path) return t |