With the recent removal of OpenSSL in Xcode 7, I find myself having to build the library manually for an older program that utilizes it. I've got an Xcode project that purportedly builds the library (libcrypto.a and libssl.a are successfully created), but when compiling the older program, I get the error:
"no OpenSSL thread support"
This is caused by a preprocessor check throwing the error:
...
#define OPENSSL_THREAD_DEFINES
#include <openssl/opensslconf.h>
#ifndef OPENSSL_THREADS
#error no OpenSSL thread support
#endif
...
The opensslconf.h file is being found, but apparently OPENSSL_THREADS is not being defined it it. Is this supposed to be included somewhere in that file? Is it some sort of configuration error on my part when building the OpenSSL library?
Any help with this is greatly appreciated. Thank you in advance!