From 62eda0dd434cae09f22f3cdf6988fc77b5c537e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BChne?= Date: Thu, 22 Feb 2018 08:13:37 +1100 Subject: Bug [#1993]. Fix building on Mingw/MSYS to perform file copies and deletions. --- win32/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/makefile') diff --git a/win32/makefile b/win32/makefile index 894026e9a..9849ebf89 100644 --- a/win32/makefile +++ b/win32/makefile @@ -18,7 +18,7 @@ endif .SUFFIXES: .cxx ifeq ($(OS),Windows_NT) -DEL = del /q +DEL = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q) else DEL = rm -f endif -- cgit v1.2.3