[LEDE-DEV] MacOS X SSL check
Jo-Philipp Wich
jo at mein.io
Wed May 25 02:53:03 PDT 2016
Hi Waldemar,
including OpenSSL (or any other compatible implementation) as host build
has been discussed several times in the past.
Personally I mostly worry about the required build time and the fact
that we already rebuild large chunks of the userland (awk, sed, grep,
find, ...) but I guess thats the price one has to pay for avoiding
runtime feature detection and other autoconf-like mechanisms...
So including a {Open,Libre}SSL as host build confined to Darwin only for
a start would be fine with me personally. Iiirc various devs use Macs
for development primarily so it'll likely receive enough testing
exposure to not bitrot.
~ Jo
On 05/25/2016 10:50 AM, Waldemar Brodkorb wrote:
> Hi,
>
> I am not able to compile LEDE on my Mac.
> Apple removed OpenSSL from latest Xcode.
> I can install openssl from MacPorts and extend
> HOST_CFLAGS to use /opt/local/include and /opt/local/lib, but
> then later GDB does not compile, because it conflicts
> with something in my /opt/local/include installed via
> MacPorts. U-Boot requires SSL for some host tools,
> so the cleanest solution to me, would be inclusion of
> openssl or libressl to tools/ and provide it by LEDE
> while compiling.
>
> What you think about it? Would you accept a patch?
> Should it depend on Darwin, or should it detect if
> ssl.h is found and if not build openssl/libressl?
>
> Would you prefer libressl over openssl? Libressl is faster
> to compile and more secure, if you ask me.
>
> best regards
> Waldemar
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
>
More information about the Lede-dev
mailing list