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>
def SAMBA_SUBSYSTEM(bld, modname, source,
deps='',
public_deps='',
+ __force_empty=False,
includes='',
public_headers=None,
public_headers_install=True,
# 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'