Closed noloader closed 5 years ago
opensslconf.h
is generated for arm64, though I agree it's better if it would match to the architectures.
If you have some time you can try do changes to build script and generate it with such umbrella header.
It's done now.
opensslconf.h
is generated anew for each configuration of OpenSSL. Its _not_ safe to use oneopensslconf.h
for all OpenSSL configurations. Also see Is it safe to build the cURL library as multi-arch? (same problem, different library).From the looks of
opensslconf.h
located in include-ios/openssl, it appears the conf file is for i386 (i.e., iOS debugging):The work around for fat binaries is to copy each
opensslconf.h
with a new name. I.e, theopensslconf.h
generated witharmv7
would be namedopensslconf-armv7.h
, theopensslconf.h
generated withi386
would be namedopensslconf-i386.h
, and so on.Then, you provide one
opensslconf.h
which gathers up the architecture dependent conf files:My apologies if I am parsing things incorrectly.