From 23d60e1d686ae4a94c94db4989f1f1071b3d920a 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: Backport: Bug [#1993]. Fix building on Mingw/MSYS to perform file copies and deletions. Backport of changeset 6457:26e7749ba67a. --- win32/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/makefile') diff --git a/win32/makefile b/win32/makefile index 62f5931ae..dcbd3ad2a 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