On Sat, 11 Dec 2010, Luis Lavena wrote:

I've managed to get all the examples build against the static library
changing LIBSSH2_API definition:

That reminds me that in libcurl we have a CURL_STATICLIB define set when building the library static (on Windows) which then avoids the __declspec stuff similar to your patch.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to