From 1183aefcdcefa539d404d1170a16e17d14bf2a2c Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 26 Dec 2007 21:40:46 +0000 Subject: win32 find.exe != bsd/gnu find, and we want the native flavor. This fails on ancient OS's, but then again, ancient flavors won't be compiling to x64. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@606955 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.win | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.win') 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 -- cgit v1.2.1