cURL / Mailing Lists / curl-library / Single Mail

curl-library

Static build without LIBCMT

From: Miroslav Lazic <lazic13_at_gmail.com>
Date: Wed, 26 Aug 2015 15:19:40 +0200

Hi everyone,

I'm having problems to get static libcurl build, as lib I'm getting, when
included in VS2013 Win64 project, results with a conflict between libcmt
and msvcrt(which is used in my project).
I tried build with CMake (with CURL_STATICLIB flag) and libcmt added in
IgnoreSpecificDefaultLibraries.
Also VS Command Prompt build with "nmake /f Makefile mode=static VC=12
MACHINE=x64 ENABLE_WINSSL=no ENABLE_IDN=no GEN_PDB=no ENABLE_SSPI=no" and
manualy adding /MD and /NODEFAULTLIB:libcmt.

Result is the same, some part of libcurl is still beeing linked against
libcmt..

Any suggestions appreciated.

-- 
*Pozdrav,Miroslav Lazić*

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-26