summaryrefslogtreecommitdiff
path: root/curl
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-24 12:04:25 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-24 12:04:25 +0200
commit597850ed084dab256cc98c83aec9d7de7024c193 (patch)
treed343d7be32dc26d74fb8ff4a9c72376b7b67d332 /curl
parent13f646d1aefdf6937062d2b4fe639a3f3d7030f7 (diff)
Fix curl build on x64 Windows
Diffstat (limited to 'curl')
-rw-r--r--curl/makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/curl/makefile.mk b/curl/makefile.mk
index 213a887de2cd..31abb8d85485 100644
--- a/curl/makefile.mk
+++ b/curl/makefile.mk
@@ -122,6 +122,13 @@ EXCFLAGS="/EHsc /YX"
.ENDIF
BUILD_DIR=.$/lib
+
+.IF "$(CPU)" == "I"
+MACHINE=X86
+.ELSE
+MACHINE=X64
+.ENDIF
+
.IF "$(debug)"==""
BUILD_ACTION=nmake -f Makefile.vc9 cfg=release-dll EXCFLAGS=$(EXCFLAGS)
.ELSE