On Sun, Dec 30, 2012 at 3:20 PM,  <jb-open...@wisemo.com> wrote:
> On 30-12-2012 21:01, Jeffrey Walton wrote:
>>
>> Hi All,
>>
>> While working on Apple with Mac OS X and iOS, I found I needed to
>> patch OpenSSL 1.0.1c's Makefile.
>>
>> Makefile.org has the following line, and it was copied directly into
>> Makefile by Configure:
>>
>>      MAKEDEPPROG=makedepend
>>
>> When the Configure target is iphoneos (cross), iphonesimulator
>> (cross), or macosx (native), I need a different statement:
>>
>>      MAKEDEPPROG=$(CC) -M
>>
>> I've looked at Configure, but I have no clue on the best way to handle
>> the support/additions needed.
>>
>> Can anyone offer some advice?
>>
> I have found the script build.sh from
>  <https://github.com/st3fan/ios-openssl>
> to work nicely for iOS builds of 1.0.1c with no patching of openssl.
> (Admitted, I did adapt the script for our environment)
Thanks Jakob.

If you run the script with an "-no-xxx" option, how does it perform?
For example, try -no-dtls. A quick drive by did not reveal MAKEDEPEND
modification.

What I found  (using the same tool chain): "-no-xxx"  requires a `make
depend`. 'make depend` fails on my 10.7 and 10.8 test machines because
Apple removed `makedepend` at 10.7.2 or 10.7.3. So I need to cut over
to `$(CC) -M`.

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to