May 26, 2018
Guess OpenSSL include path
CryptOpenSSLGuess provides helpers to guess OpenSSL include path on any platforms.
Often MacOS’s homebrew OpenSSL cause a problem on installation due to include path is not added. Some CPAN module provides to modify include path with configure-args, but Carton or ModuleCPANfile is not supported to pass configure-args to each modules. CryptOpenSSL* modules should use it on your Makefile.PL.
This module resolves the include path by NetSSLeay’s workaround. Original code is taken from inc/Module/Install/PRIVATE/Net/SSLeay.pm by NetSSLeay.