#339: ExternalLibraries/OpenSSL does not compile in 64-bit mode on Mac OS ---------------------+------------------------------------------------------ Reporter: hinder | Owner: hinder Type: defect | Status: assigned Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: ExternalLibraries/OpenSSL ---------------------+------------------------------------------------------
Comment (by hinder):
The attached patch enables autodetection of the dylib extension on Mac OS. OK to apply?
It seems to me that the autodetection logic is the sort of thing that is usually handled by autoconf or pkg-info, and we probably don't want to reimplement it. The current method has several failings. For example, it does not find shared libraries (.so) and it does not find libraries in lib64. Should we use pkg-info instead?
{{{ $ pkg-config --libs openssl -lssl -lcrypto -lz }}}
and similarly for --cflags.