diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-08-20 12:27:17 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-11-30 15:53:34 +0000 |
commit | 295e5270f60296feb4e9bbb57ae3b3f58f2d3258 (patch) | |
tree | 76ff76bc376cd48a17b9f61c06b81de99ab5f24b /buildtools | |
parent | 3aff74e29ed3bb99fd7b9a510001e7046b86c8fa (diff) | |
download | samba-295e5270f60296feb4e9bbb57ae3b3f58f2d3258.tar.gz |
wafsamba: add SAMBA_SUBSYSTEM(force_empty=False)
We will need to define empty subsystems without any dependency.
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>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index a07b07890c0..4d7b216d683 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -570,6 +570,7 @@ Build.BuildContext.SAMBA_MODULE = SAMBA_MODULE def SAMBA_SUBSYSTEM(bld, modname, source, deps='', public_deps='', + __force_empty=False, includes='', public_headers=None, public_headers_install=True, @@ -603,7 +604,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source, # remember empty subsystems, so we can strip the dependencies if ((source == '') or (source == [])): - if deps == '' and public_deps == '': + if not __force_empty and deps == '' and public_deps == '': SET_TARGET_TYPE(bld, modname, 'EMPTY') return empty_c = modname + '.empty.c' |