On Jul 13, 2014, at 5:45 PM, Jan Engelhardt <jeng...@inai.de> wrote:

> On Sunday 2014-07-13 17:36, Brent Cook wrote:
>>>> 
>>>> This release includes a number of portability fixes based on the 
>>>> initial feedback we have received from the community.
>>> 
>>> I was looking at Solaris documentation and found that -lrt may be 
>>> needed for some versions as well. A test has not been conducted.
>> 
>> Thanks Jan, we fixed this in a more generic way:
>> 
>> https://github.com/libressl-portable/portable/commit/7a9aa4dd7eaa91a532af39ff299990fac09e49f2
> 
> Ah yes, interesting.
> 
> JFYI, mingw-w64 has clock_gettime in -lpthread instead, so that needs to 
> be tested as well.

Thanks Jan.

I have some patches that I’m testing to fix mingw builds to properly build 
getentropy_win.c. This version does not use clock_gettime in the first place, 
so there will hopefully be no pthread dependency on mingw builds.

Not all mingw toolchains have winpthreads available yet (e.g. ones shipped with 
somewhat recent versions of ubuntu), so we will likely need to avoid depending 
on it for a bit, if its easy enough to avoid.


Reply via email to