> > >      ./configure --with-cc-opt="-I/usr/local/include" \
> > >                  --with-ld-opt="-L/usr/local/lib64"

works as promised,

...
make
ldd objs/nginx | egrep -i pcre
        libpcre.so.1 => /usr/local/lib64/libpcre.so.1
        (0x00007fc62c7e7000)

Thanks.

> That is, it's only applies when nginx is going to build PCRE library itself.

Clear.

> To actually activate JIT compilation, you'll also need to use 
> pcre_jit directive, see nginx.org/r/pcre_jit.
> 
> Note that use of PCRE JIT may actually result in lower performance 
> (due to more memory used to compiled regular expressions, and less 
> effective CPU cache as a result), enabling it unconditionally may 
> not be a good idea.

Noted.

Thanks!

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to