cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling libcurl staticly within DLL-module with mingw32

From: Alexander Tumin <itakingiteasy_at_gmail.com>
Date: Sat, 20 Aug 2011 17:59:00 +0400

On 20 August 2011 16:26, Gisle Vanem <gvanem_at_broadpark.no> wrote:
> I.e.
> 'CURL_EXTERN' in <curl/curl.h> is not '__declspec(dllimport)' as is required
> when
> using libcurl dynamically.
>
> Verify this with 'pedump module_static.dll' and 'depends'.

Here is pedump of module_static.dll:
http://paste.pocoo.org/show/461288/

Seems like libcurl completly replaces all symbols in dll with it's own
ones, as opposed to module_dynamic.dll:
http://paste.pocoo.org/show/461289/

How this can be fixed?
Sorry if i am missing something.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-20