summaryrefslogtreecommitdiff
path: root/lib/Makefile.vc6
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-09 22:26:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-09 22:26:59 +0000
commit6dd4fe0740b86087d9bb1957f191da1fb6e6b7e6 (patch)
tree521f44a65b346bb0760dcfe4aadad796a188a6b4 /lib/Makefile.vc6
parent3789e2e6ce705ce4c23c672dc5f05aa254b451c0 (diff)
downloadcurl-6dd4fe0740b86087d9bb1957f191da1fb6e6b7e6.tar.gz
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
machine type too.
Diffstat (limited to 'lib/Makefile.vc6')
-rw-r--r--lib/Makefile.vc66
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6
index b70fb2226..7684c4f00 100644
--- a/lib/Makefile.vc6
+++ b/lib/Makefile.vc6
@@ -41,6 +41,10 @@ OPENSSL_PATH = ../../openssl-0.9.7e
ZLIB_PATH = ../../zlib-1.2.1
!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
@@ -74,7 +78,7 @@ CFLAGS = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBC
CFLAGSLIB = /DCURL_STATICLIB
LNKDLL = link.exe /DLL
LNKLIB = link.exe /lib
-LFLAGS = /nologo
+LFLAGS = /nologo /machine:$(MACHINE)
SSLLIBS = libeay32.lib ssleay32.lib
ZLIBLIBSDLL= zdll.lib
ZLIBLIBS = zlib.lib