cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sukender: curl/include/curl curl.h,1.380,1.381

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 9 Apr 2009 20:17:19 +0200 (CEST)

On Thu, 9 Apr 2009, Sukender wrote:

> 2. tests/server projects directly include libcurl source files. This is a
> fact. However, under Win32, some symbols in these files are marked as
> "imported" which is wrong when we include the files instead of linking with
> libcurl. My first solution was to put a definintion in tests/server projects
> to avoid libcurl symbols to be marked as "imported".

Ah right, now I recall it and thanks for being patient.

Can't we just define CURL_STATICLIB when we build the servers (and that's not
even too far a stretch since the servers are in fact then using the code
staticly) and it'll work already?

-- 
  / daniel.haxx.se
Received on 2009-04-09