cURL / Mailing Lists / curl-library / Single Mail

curl-library

Static linking is broken! Or is it?

From: Klemen Ferjančič <imbacen_at_gmail.com>
Date: Mon, 02 Mar 2015 19:47:53 +0100

Hello

When running cmake with static flag on Windows there is a terrifying
message on the end of the build:

Cmake command:
cmake -G "Visual Studio 12" -B./build -H./ -DCURL_STATICLIB=ON

CMake Warning at CMakeLists.txt:1098 (message):
   Static linking is broken!

But static linking seems to work just fine. The comment in
CMakeLists.txt didn't tell me much either.

Is there anything actually wrong with static linking? Should we not use it?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-02