Fix symlink deletion with --wipe option
Fix symlink deletion with --wipe option

When wiping a build tree with --wipe, every entry in the build directory
is removed with mesonlib.windows_proof_rmtree() for directories and
mesonlib.windows_proof_rm() for other files. Symlinks to directories are
considered directories, resulting in the former being called. This
causes an exception to be raised, as the implementation calls
shutil.rmtree(), which isn't allowed on symlinks.

Fix this by using mesonlib.windows_proof_rm() for symlinks.

Signed-off-by: Laurent Pinchart <3ded2f39a78f0d7044839546f95841842b4d7c96@ideasonboard.com>

QuLogic/meson,QuLogic/meson,mesonbuild/meson,becm/meson,becm/meson,mesonbuild/meson,QuLogic/meson,jpakkane/meson,mesonbuild/meson,becm/meson,mesonbuild/meson,jpakkane/meson,becm/meson,pexip/meson,jpakkane/meson,QuLogic/meson,jpakkane/meson,mesonbuild/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,pexip/meson,becm/meson,jpakkane/meson,jpakkane/meson,mesonbuild/meson,QuLogic/meson,pexip/meson,becm/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,jpakkane/meson,QuLogic/meson,becm/meson,pexip/meson,QuLogic/meson,becm/meson,QuLogic/meson,pexip/meson,pexip/meson,becm/meson,jpakkane/meson,becm/meson,mesonbuild/meson,pexip/meson,jpakkane/meson