MSVC: link dynamically to the CRT
commitfc4383c55f18c57a172f5b9035c93bf24d5c6890
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 16:20:21 +0000 (7 17:20 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 17 Feb 2014 18:08:15 +0000 (17 12:08 -0600)
tree2ac2704e0170bcf3d5f5368f4bd90fe911113fb2
parentadbfbede7e53461de7fb07c242fe1bd0b6228c96
MSVC: link dynamically to the CRT

Dynamic linking is generally preferred over static linking, and MSVCRT.dll
has been integral part of Windows for a long time.

This also fixes linker warnings for _malloc and _free in zlib.lib, which
seems to be compiled for MSVCRT.dll already.

The DLL version also exports some of the CRT initialization functions,
which are hidden in the static libcmt.lib (e.g. __wgetmainargs, required by
subsequent Unicode patches).

Signed-off-by: Karsten Blees <blees@dcon.de>
config.mak.uname