[Unbound-users] unbound linking bug with pthreads

Paul Wouters paul at xelerance.com
Thu Feb 25 16:18:56 UTC 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.

Paul



More information about the Unbound-users mailing list