cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cross-compiling linux to windows and OpenSSL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 28 Dec 2014 21:12:49 +0100 (CET)

On Sun, 28 Dec 2014, Gisle Vanem wrote:

> '-lgdi32' must come after the libs using it. So:
> -L/usr/local/ssl/lib ../lib/.libs/libcurl.a -lssl -lcrypto -lgdi32 -lws2_32
>
> should work. No idea why that isn't done already.

My guess is that not that many people cross-compile for windows so it hasn't
been a big enough problem. I'll welcome patches that fix this!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-28