[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] using libEvent 2.x with Visual C++



On Wed, Jul 4, 2012 at 06:14 UTC, Patrick Pelletier wrote:
> I've cleaned up my windows-ssl branch, so it now uses conditionals properly.
>  By default, Makefile.nmake builds without OpenSSL, as before.  But if you
> uncomment the line:
>
> # OPENSSL_DIR=c:\openssl
>
> and set it to wherever you installed OpenSSL, then Makefile.nmake will build
> with OpenSSL support.  I'm not sure if there's a better way to do this
> conditional; I know next to nothing about nmake.  But it seemed reasonable
> enough.  (Suggestions for improvement are definitely welcome, though.)

Have you tried providing OPENSSL_DIR in the environment to nmake?

set OPENSSL_DIR=c:\openssl
nmake

or on its command line:

nmake OPENSSL_DIR=c:\openssl

My guess is either approach will work.

Cheers,
Dave Hart
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.