Maintained by: NLnet Labs

[Unbound-users] unbound linking bug with pthreads

Paul Wouters
Thu Feb 25 17:18:56 CET 2010

On Thu, 25 Feb 2010, Florian Weimer wrote:

>> For me, I end up with -pthread in the CFLAGS. This is included on the
>> commandline when linking.  Perhaps -pthread is enough when linking, or
>> does it have to be -lpthread ?
> -pthread should cause -lpthread to be passed during linking:
> *lib:
> %{pthread:-lpthread}    %{shared:-lc}    %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}

What should "cause" this? Because it is not happening.