parameters: (env, shlib_suffix='$_SHLIBSUFFIX')
return_statement: return shared_lib
docstring: This is a utility function that creates the SharedLibrary
      Builder in an Environment if it is not there already.
  
      If it is already there, we return the existing one.
  
      Args:
          shlib_suffix: The suffix specified for the shared library builder
docstring_summary: This is a utility function that creates the SharedLibrary
      Builder in an Environment if it is not there already.
docstring_tokens: This is a utility function that creates the SharedLibrary Builder in an Environment if it is not there already .
function: def createSharedLibBuilder(env, shlib_suffix='$_SHLIBSUFFIX'):
      """This is a utility function that creates the SharedLibrary
      Builder in an Environment if it is not there already.
  
      If it is already there, we return the existing one.
  
      Args:
          shlib_suffix: The suffix specified for the shared library builder
  
      """
  
      try:
          shared_lib = env['BUILDERS']['SharedLibrary']
      except KeyError:
          import SCons.Defaults
          action_list = [SCons.Defaults.SharedCheck,
                         SCons.Defaults.ShLinkAction,
                         LibSymlinksAction]
          shared_lib = SCons.Builder.Builder(action=action_list,
                                             emitter="$SHLIBEMITTER",
                                             prefix="$SHLIBPREFIX",
                                             suffix=shlib_suffix,
                                             target_scanner=ProgramScanner,
                                             src_suffix='$SHOBJSUFFIX',
                                             src_builder='SharedObject')
          env['BUILDERS']['SharedLibrary'] = shared_lib
  
      return shared_lib
function_tokens: def createSharedLibBuilder ( env , shlib_suffix = '$_SHLIBSUFFIX' ) : try : shared_lib = env [ 'BUILDERS' ] [ 'SharedLibrary' ] except KeyError : import SCons . Defaults action_list = [ SCons . Defaults . SharedCheck , SCons . Defaults . ShLinkAction , LibSymlinksAction ] shared_lib = SCons . Builder . Builder ( action = action_list , emitter = "$SHLIBEMITTER" , prefix = "$SHLIBPREFIX" , suffix = shlib_suffix , target_scanner = ProgramScanner , src_suffix = '$SHOBJSUFFIX' , src_builder = 'SharedObject' ) env [ 'BUILDERS' ] [ 'SharedLibrary' ] = shared_lib return shared_lib