diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-03-09 22:26:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-03-09 22:26:59 +0000 |
commit | 6dd4fe0740b86087d9bb1957f191da1fb6e6b7e6 (patch) | |
tree | 521f44a65b346bb0760dcfe4aadad796a188a6b4 /src | |
parent | 3789e2e6ce705ce4c23c672dc5f05aa254b451c0 (diff) |
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
machine type too.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.vc6 | 6 |
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
|