anchor.diff:          for statictype in a dll.a la; do
             if [ -e "$out/lib/lib''${library}$suffix.$statictype" ]; then
               ln -svf lib''${library}$suffix.$statictype $out/lib/lib$library$newsuffix.$statictype
  +            if [ "ncurses" = "$library" ]
  +            then
  +              # make libtinfo symlinks
  +              ln -svf lib''${library}$suffix.$statictype $out/lib/libtinfo$newsuffix.$statictype
  +            fi
             fi
           done
           ln -svf ''${library}$suffix.pc $dev/lib/pkgconfig/$library$newsuffix.pc
  
positive.code:     moveToOutput "bin/infotocap" "$out"
    '';
  
    preFixup = lib.optionalString (!hostPlatform.isCygwin) ''
      rm "$out"/lib/*.a
    '';
  
  
negative.code:     "--enable-pc-files"
      "--enable-symlinks"
    ] ++ lib.optional unicode "--enable-widec"
      ++ lib.optional (!withCxx) "--without-cxx"
      ++ lib.optional (abiVersion == "5") "--with-abi-version=5";
  
  