commit ab58127d61d4bce6beb4c5c9b046c5ffdf2970a0
parent 1d51ce93f98bb59f9a0d17ddd6a069183c1582f6
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 15 Dec 2015 12:09:30 -0800
statically link to the runtime library on Windows
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
@@ -49,7 +49,7 @@ vendor
4. Launch "Developer Command Prompt for VS2013" and run
`VC\vcvarsall x86_amd64` (or x86 for 32-bit)
5. Navigate to `<curl directory>\winbuild` and run
- `nmake /f Makefile.vc mode=static MACHINE=x64` (or x86)
+ `nmake /f Makefile.vc mode=static RTLIBCFG=static MACHINE=x64` (or x86)
6. Copy `..\builds\libcurl-vc-x64-release-static-ipv6-sspi-winssl`
to `<reapack directory>\vendor` as `libcurl`
7. Navigate to `<reapack directory>` and run `tup --quiet`
diff --git a/Tupfile.win32 b/Tupfile.win32
@@ -2,7 +2,7 @@ CXX := cl
LD := link
RC := rc
-CXXFLAGS := /nologo /W3 /WX /wd4996 /O2 /EHsc /MD
+CXXFLAGS := /nologo /W3 /WX /wd4996 /O2 /EHsc /MT
CXXFLAGS += /Ivendor /Ivendor/WDL /Ivendor/WDL/WDL
CXXFLAGS += /Ivendor/libcurl/include
CXXFLAGS += /DWDL_NO_DEFINE_MINMAX