parameters: (env)
docstring: Add Builders and construction variables for Forte to an Environment.
docstring_summary: Add Builders and construction variables for Forte to an Environment.
docstring_tokens: Add Builders and construction variables for Forte to an Environment .
function: def generate(env):
      """Add Builders and construction variables for Forte to an Environment."""
      link.generate(env)
      
      env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')
  
      env['RPATHPREFIX'] = '-R'
      env['RPATHSUFFIX'] = ''
      env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
  
      # Support for versioned libraries
      link._setup_versioned_lib_variables(env, tool = 'sunlink', use_soname = True) 
      env['LINKCALLBACKS'] = link._versioned_lib_callbacks()
function_tokens: def generate ( env ) : link . generate ( env ) env [ 'SHLINKFLAGS' ] = SCons . Util . CLVar ( '$LINKFLAGS -G' ) env [ 'RPATHPREFIX' ] = '-R' env [ 'RPATHSUFFIX' ] = '' env [ '_RPATH' ] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}' # Support for versioned libraries link . _setup_versioned_lib_variables ( env , tool = 'sunlink' , use_soname = True ) env [ 'LINKCALLBACKS' ] = link . _versioned_lib_callbacks ( )