aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-12-12 13:50:07 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-12-12 13:50:07 +0000
commit8ae9e7903fb26771068896d9b301f275e50053b9 (patch)
tree5813a2346de769195112131d5a0acf38b545d275 /src/http/modules/ngx_http_proxy_module.c
parent1596399e8232e1398e5b46b7654407c9059cfcbd (diff)
downloadnginx-8ae9e7903fb26771068896d9b301f275e50053b9.tar.gz
nginx-8ae9e7903fb26771068896d9b301f275e50053b9.zip
Configure: better check for PCRE JIT.
On Mac OS X system toolchain by default prefers include files from /usr/local/include, but libraries from /usr/lib. This might result in various problems, in particular the one outlined below. If the PCRE library is installed into /usr/local/, this results in pcre.h being used from /usr/local/include (with PCRE_CONFIG_JIT defined), but libpcre from /usr/lib (as shipped with the OS, without pcre_free_study() symbol). As a result build fails as we use pcre_free_study() function if we try to compile with PCRE JIT support. Obvious workaround is to the root cause is to ask compiler to prefer library from /usr/local/lib via ./configure --with-ld-opt="-L/usr/local/lib". On the other hand, in any case it would be good to check if the function we are going to use is available, hence the change. See thread here for details: http://mailman.nginx.org/pipermail/nginx-devel/2012-December/003074.html Prodded by Piotr Sikora.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
0 files changed, 0 insertions, 0 deletions