diff options
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 54e5bbebc8..6d09aedb6e 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -339,7 +339,6 @@ def SAMBA_MODULE(bld, modname, source, module_init_name='samba_init_module', autoproto=None, autoproto_extra_source='', - aliases=None, cflags='', internal_module=True, local_include=True, @@ -368,37 +367,6 @@ def SAMBA_MODULE(bld, modname, source, SET_TARGET_TYPE(bld, modname, 'DISABLED') return - if aliases is not None: - # if we have aliases, then create a private base library, and a set - # of modules on top of that library - if init_function: - cflags += " -D%s=%s" % (init_function, module_init_name) - - basename = modname + '-base' - bld.SAMBA_LIBRARY(basename, - source, - deps=deps, - cflags=cflags, - autoproto = autoproto, - local_include=local_include, - vars=vars, - pyembed=pyembed, - private_library=True - ) - - aliases = TO_LIST(aliases) - aliases.append(modname) - - for alias in aliases: - bld.SAMBA_MODULE(alias, - source=[], - internal_module=False, - subsystem=subsystem, - init_function=init_function, - deps=basename) - return - - obj_target = modname + '.objlist' realname = modname |