curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re[2]: Static libcurl size under Windows

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Thu, 20 Apr 2017 14:46:06 +0200

Konstantin Vlasov in gmane.comp.web.curl.library (Thu, 20 Apr 2017
14:08:46 +0300):
>> What is the size of your libeay32.lib & ssleay32.lib files?
>
>Good spot! Indeed, they are 16,9 and 2,4 Mb (I use OpenSSL 1.1.0, so the names
>are libssl.lib and libcrypto.lib).
>
>So it means that the winbuild procedure merges the OpenSSL libs into libcurl,
>while the old procedure does not. And the question is, how to avoid it...

Build OpenSSL as shared. Something like

    perl Configure VC-WIN32 no-asm shared
    nmake

or

    perl Configure VC-WIN64A no-asm shared
    nmake

See how appveyor.yml does it.

-- 
Jan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-20