Thanks for this script. I've been using it in a number of apps for a couple years now, I think.
My problem is that another library I want to use (Google AdMobs Ads SDK) is colliding with the MD5 from libcrypto. I'm attempting to remove the MD5 support from libcrypto to eliminate the collision.
My approach is to add no-md5
to line 39 of build.sh
. To get this to take effect, a log message said I need to run make depend
. I added
make depend &> "/tmp/openssl-${OPENSSL_VERSION}-${ARCH}.log"
before the make
on line 43.
When I build now, I get tons of errors during make depend
:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/machine/endian.h:35:25: error: i386/endian.h: No such file or directory
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/sys/signal.h:81,
from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/sys/wait.h:116,
from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/include/stdlib.h:65,
from LPdir_unix.c:29,
from o_dir.c:74:
I'm not sure where I should to resolve these. Can you provide any guidance?