I might as well post my gist for building openssl and lib crypto fat binaries in case someone wants a “build it once” solution
https://gist.github.com/foozmeat/5154962 It supports: Mac: i386 and x86_64 iOS: armv7, armv7s, and i386. It will add arm64 and x86_64 support for iOS 7 SDK (the default). James On Jan 25, 2014, at 11:49 AM, jonat...@mugginsoft.com wrote: > > On 14 Jan 2014, at 09:42, Charles Srstka <cocoa...@charlessoft.com> wrote: > >> On Jan 14, 2014, at 3:19 AM, jonat...@mugginsoft.com wrote: >> >>> The only problem with retaining it is the extra complexity involved in >>> integrating the static library build into the project and upgrading the >>> source. >> >> One trick that can help is that OpenSSL is in MacPorts, so you can just set >> up a symlink to the static library in /opt/local/lib, and then just run >> /opt/local/port selfupdate and /opt/local/port upgrade outdated every once >> in a while (or you can just set up a LaunchDaemon to run those commands >> periodically). This will keep your copy of OpenSSL and libcrypto up to date, >> at least. >> > Took a while to get around to confirming this but I did use the MacPorts > approach - it was simply easier than building libcrypto from source within my > project (https://github.com/sqlcipher/openssl-xcode). > It should be noted that lib crypto.a has a dependency on libz.a. -lz is > therefore required in other linker flags. > > Jonathan > > > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/hello%40jmoore.me > > This email sent to he...@jmoore.me
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com