[PATCH] Configure: fix build from sources for OpenSSL on OS X
Piotr Sikora
piotr at cloudflare.com
Tue Jun 17 22:38:09 UTC 2014
Hey Maxim,
> Suggested patch for OpenSSL, in contrast, only required for build
> of OpenSSL by nginx (which is exotic on OS X anyway), only needed
> for old versions of OpenSSL, and will break building for i386 if
> needed for whatever reason, as well as building of at least some
> supported OpenSSL versions.
So, in summary, on 64-bit OS X:
- 64-bit build (default) is broken with all versions of OpenSSL,
- 32-bit build (non-default) works fine with all versions of OpenSSL,
- env KERNEL_BITS=64 fixes 64-bit build, but only with OpenSSL-1.0.1,
- my patch fixes 64-bit build (default) with OpenSSL-0.9.8,
OpenSSL-1.0.0 and OpenSSL-1.0.1 at the cost of breaking 32-bit build
(non-default), which can be fixed with a simple test for "arch i386"
in CFLAGS.
Yet it's still a no-go?
Best regards,
Piotr Sikora
More information about the nginx-devel
mailing list