aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.vc6
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.vc6')
-rw-r--r--src/Makefile.vc66
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.vc6 b/src/Makefile.vc6
index 29efaec37..b307b1513 100644
--- a/src/Makefile.vc6
+++ b/src/Makefile.vc6
@@ -23,6 +23,10 @@ ZLIB_PATH = ../../zlib-1.2.1
OPENSSL_PATH = ../../openssl-0.9.7e
!ENDIF
+!IFNDEF MACHINE
+MACHINE = X86
+!ENDIF
+
# USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication
# without an openssl installation and offers the ability to authenticate
# using the "current logged in user". It does however require that the
@@ -64,7 +68,7 @@ LINKD = link.exe /incremental:yes /debug /libpath:"../lib"
RCD = rc.exe /dCURLDEBUG=1
CFLAGS = /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c
-LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:I386
+LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:$(MACHINE)
RESFLAGS = /i../include
!IFDEF WINDOWS_SSPI