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

> On Sunday 2014-07-13 13:07, Bob Beck 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

> ---8<---
> According to Solaris documentation[1,2], clock_gettime is to be found
> in librt until including Solaris 10.
> 
> [1] http://docs.oracle.com/cd/E23823_01/html/816-5171/clock-getres-3rt.html
> [2] http://docs.oracle.com/cd/E23824_01/html/821-1465/clock-gettime-3c.html
> 
> ---
> configure.ac |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: libressl-2.0.1/configure.ac
> ===================================================================
> --- libressl-2.0.1.orig/configure.ac
> +++ libressl-2.0.1/configure.ac
> @@ -21,7 +21,7 @@ case $target_os in
>       *solaris*)
>               TARGET_OS=solaris;
>               CFLAGS="$CFLAGS -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -DBSD_COMP"
> -             AC_SUBST([PLATFORM_LDADD], ['-lnsl -lsocket'])
> +             AC_SUBST([PLATFORM_LDADD], ['-lnsl -lsocket -lrt'])
>               ;;
>       *openbsd*)
>               AC_DEFINE([HAVE_ATTRIBUTE__BOUNDED__], [1], [OpenBSD gcc has 
> bounded])
> 


Reply via email to