summaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.win b/Makefile.win
index 60377970d..b2c2f07c4 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -45,7 +45,8 @@ USEDSW=1
PREFIX=..\apr-dist
-!IF [$(COMSPEC) /c cl /nologo /? | find "x64" >NUL ] == 0
+!IF [$(COMSPEC) /c cl /nologo /? \
+ | $(SystemRoot)\System32\find.exe "x64" >NUL ] == 0
ARCH=x64 Release
!ELSE
ARCH=Win32 Release