summaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-12-26 21:40:46 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-12-26 21:40:46 +0000
commit1183aefcdcefa539d404d1170a16e17d14bf2a2c (patch)
tree28a22a0efa0de6bc6ed175ca738f7ffc5b4277e4 /Makefile.win
parent2950fc4d5c4aa3d94372b69e1ae538c751c16986 (diff)
downloadapr-1183aefcdcefa539d404d1170a16e17d14bf2a2c.tar.gz
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
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