cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Static Build of OpenSSL for LibCurl

From: Pierre Joye <pierre.php_at_gmail.com>
Date: Mon, 20 Dec 2010 10:45:51 +0100

hi,

I can update the Makefile accordingly but I never noticed a problem
while building openssl statically.

Cheers,

On Mon, Dec 20, 2010 at 9:50 AM, Ilan Tayari <ilan_at_cogniview.com> wrote:
>  On 19.12.2010 15:39, Brett wrote:
>>
>> Does anyone have a static build of OpenSSL lib (for windows) that works
>> with libcurl? I have tried various builds over the past few days, and
>> everytime I build it, it has some sort of issue. Thanks!
>> -------------------------------------------------------------------
>> List admin: http://cool.haxx.se/list/listinfo/curl-library
>> Etiquette:  http://curl.haxx.se/mail/etiquette.html
>>
> Hi Brett,
>
> I've looked for one for a while, but eventually managed to build it myself
> with no problems in VS2010.
> I wanted to post the project file (vcxproj) so everybody can benefit, but
> it's not flexible enough...
> I believe you can do the exact same with VS2008 and maybe even older
> versions of the IDE.
>
> I now use both OpenSSL and libCurl in my project, both are static builds,
> and they produce no errors or warnings.
>
> To compile OpenSSL itself, I had to define the following:
> OPENSSL_SYS_MSDOS;NO_WINDOWS_BRAINDEATH;_WIN32;WIN32;_WINDOWS;_MBCS;
>
> Then to compile libCurl, I defined:
> CURL_STATICLIB;USE_SSLEAY;USE_OPENSSL;CURL_DISABLE_LDAP;WIN32;_WINDOWS;BUILDING_LIBCURL;_MBCS;
>
> One day I may post a vcxproj file that works out-of-the-box, I may work on
> it if there's a demand...
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette:  http://curl.haxx.se/mail/etiquette.html
>

-- 
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-20