code: def CreateLibSymlinks(env, symlinks):
      
  
      Verbose = False
      for link, linktgt in symlinks:
          linktgt = link.get_dir().rel_path(linktgt)
          link = link.get_path()
          if(Verbose):
              print("CreateLibSymlinks: preparing to add symlink %r -> %r" % (link, linktgt))
          # Delete the (previously created) symlink if exists. Let only symlinks
          # to be deleted to prevent accidental deletion of source files...
          if env.fs.islink(link):
              env.fs.unlink(link)
              if(Verbose):
                  print("CreateLibSymlinks: removed old symlink %r" % link)
          # If a file or directory exists with the same name as link, an OSError
          # will be thrown, which should be enough, I think.
          env.fs.symlink(linktgt, link)
          if(Verbose):
              print("CreateLibSymlinks: add symlink %r -> %r" % (link, linktgt))
      return 0
docs: Physically creates symlinks. The symlinks argument must be a list in
      form [ (link, linktarget), ... ], where link and linktarget are SCons
      nodes.