From 4404b4c700270c7607d7b8d792ab23ce1d080463 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:28:29 +1100 Subject: [PATCH] waf: removed the module aliases code This is not needed with the new ldb modules approacg --- buildtools/wafsamba/wafsamba.py | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 54e5bbebc8a..6d09aedb6e6 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 -- 2.34.1