code: def generate(env):
      
      link.generate(env)
      
      env['LINK'] = env.Detect(linkers) or 'cc'
      env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared')
  
      # __RPATH is set to $_RPATH in the platform specification if that
      # platform supports it.
      env['RPATHPREFIX'] = '-rpath '
      env['RPATHSUFFIX'] = ''
      env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
docs: Add Builders and construction variables for MIPSPro to an Environment.