On Wed, 12 Nov 2008, Peter Stuge wrote:

>> I committed my changes to this yesterday but the examples still fail to 
>> build for me. This happens because I only build a static lib (configure 
>> --disable-shared) and there's no proper mechanism used here to do this for 
>> windows (and avoid the __imp_ stuff).
>
> Hmm.. I have done that before, but don't have the code anymore. :(

We just need to decide on a mechnism to compile with a static lib. I could 
trick the build right now to build all examples fine with a static lib by 
running this command line in the 'example' dir after I did the regular lib 
build:

$ make 'CPPFLAGS=-DLIBSSH2_API=" "'

-- 

  / daniel.haxx.se

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to