def setup_fast_link_sharelib_builder(top_env):
 new_link_actions = []
 new_link_actions.append(SCons.Defaults.SharedCheck)
 new_link_actions.append(MakeAction(fast_link_sharelib_action, '$SHLINKCOMSTR'))
 sharedlib = SCons.Builder.Builder(action=new_link_actions, emitter='$SHLIBEMITTER', prefix='$SHLIBPREFIX', suffix='$SHLIBSUFFIX', target_scanner=SCons.Scanner.Prog.ProgramScanner(), src_suffix='$SHOBJSUFFIX', src_builder='SharedObject')
 top_env['BUILDERS']['SharedLibrary'] = sharedlib

def setup_fast_link_sharelib_builder ( top_env ) : new_link_actions = [ ] new_link_actions . append ( SCons . Defaults . SharedCheck ) new_link_actions . append ( MakeAction ( fast_link_sharelib_action , '$SHLINKCOMSTR' ) ) sharedlib = SCons . Builder . Builder ( action = new_link_actions , emitter = '$SHLIBEMITTER' , prefix = '$SHLIBPREFIX' , suffix = '$SHLIBSUFFIX' , target_scanner = SCons . Scanner . Prog . ProgramScanner ( ) , src_suffix = '$SHOBJSUFFIX' , src_builder = 'SharedObject' ) top_env [ 'BUILDERS' ] [ 'SharedLibrary' ] = sharedlib
this is the function to setup blade fast link sharelib builder .