cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cross-compiling linux to windows and OpenSSL

From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Sun, 28 Dec 2014 19:41:24 +0000

Félix Robles wrote:

> curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o
> -L/usr/local/ssl/lib ../lib/.libs/libcurl.a -lgdi32 -lssl -lcrypto -lws2_32

'-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.

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