summaryrefslogtreecommitdiff
path: root/test/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.win')
-rw-r--r--test/Makefile.win3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.win b/test/Makefile.win
index 4050c9aac..2e7842f16 100644
--- a/test/Makefile.win
+++ b/test/Makefile.win
@@ -33,7 +33,8 @@ OUTDIR=LibR
OUTDIR=Release
!ENDIF
-!IF [$(COMSPEC) /c cl /nologo /? | find "x64" >NUL ] == 0
+!IF [$(COMSPEC) /c cl /nologo /? \
+ | $(SystemRoot)\System32\find.exe "x64" >NUL ] == 0
OUTDIR=x64\$(OUTDIR)
!ENDIF
!ENDIF