Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 10:36:51 -0700
From:      Eitan Adler <lists@eitanadler.com>
To:        Jan Beich <jbeich@freebsd.org>
Cc:        Bernard Spil <brnrd@freebsd.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r468626 - head/security/libressl
Message-ID:  <CAF6rxgn8SOKrU2YmkMbBT7Eq3qvrFiNLyQ4e=NOh6aKPhhsrrA@mail.gmail.com>
In-Reply-To: <4lju-t6cm-wny@FreeBSD.org>
References:  <201804291237.w3TCbbjB046542@repo.freebsd.org> <4lju-t6cm-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 April 2018 at 07:50, Jan Beich <jbeich@freebsd.org> wrote:
> Bernard Spil <brnrd@FreeBSD.org> writes:
>
>> Author: brnrd
>> Date: Sun Apr 29 12:37:37 2018
>> New Revision: 468626
>> URL: https://svnweb.freebsd.org/changeset/ports/468626
>>
>> Log:
>>   security/libressl: Force linking libthr
>>
>>    - Fixes problems with loading private ssh keys
> [...]
>> +LDFLAGS+=    -lthr
>
> Better use -lpthread in case user have different POSIX threads implementation.
> Probably only affects downstream as FreeBSD dropped libkse, libc_r years ago.

Further nit: -pthread not -lpthread.  The primary difference is some
preprocessor flags such as _REENTRANT and __USE_REENTRANT 1.


-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgn8SOKrU2YmkMbBT7Eq3qvrFiNLyQ4e=NOh6aKPhhsrrA>