--with-openssl and OPENSSL_OPT

Ondřej Nový ondrej.novy at gmail.com
Tue Sep 13 19:13:24 UTC 2016


2016-09-13 18:55 GMT+02:00 Maxim Dounin <mdounin at mdounin.ru>:
> Try something like this:
> ./configure --with-http_ssl_module --with-openssl=/path/to/openssl-1.0.2h
> --with-openssl-opt=no-idea
> make
> (cd /path/to/openssl-1.0.2h; make depend)
> make

this is crazy :). Why you don't add make depend to nginx build phase of
OpenSSL? It should not harm anyone and build will succeed for first time.

> > I have built OpenSSL libs, so i have .s + .h files :). How to point nginx
> > to this files to static link them please?
> You need .h (include) and .a (static library) files.  Then use

sry, no .s but .a files.

> ./configure --with-cc-opt="-I /path/to/openssl/include" --with-ld-opt="-L
> /path/to/openssl/lib"

that looks cool, I will try it.


Best regards
 Ondřej Nový
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160913/9cb74657/attachment.html>

More information about the nginx-devel mailing list