[PATCH] Fix PCRE detection on OSX.
Piotr Sikora
piotr at cloudflare.com
Sat Dec 8 07:01:18 UTC 2012
Hey Ruslan,
> And what happens if Apple fixes it the other day by putting PCRE
> headers (back?) under /usr/include? How do we compile with the
> version in /usr/include and /usr/lib then?
- if [ "$NGX_SYSTEM" = "Darwin" ]; then
+ if [ "$NGX_SYSTEM" = "Darwin" -a "$NGX_RELEASE" < "X.Y.Z" ]; then
where X.Y.Z is the fixed release... But this is really a question for
another day, because OSX ships with libpcre without pcre.h at least
from the OSX 10.6 release (so from 2009).
Best regards,
Piotr Sikora
More information about the nginx-devel
mailing list