Maintained by: NLnet Labs

[Unbound-users] unbound linking bug with pthreads

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


On Thu, 25 Feb 2010, W.C.A. Wijngaards wrote:

>>> %{pthread:-lpthread}    %{shared:-lc}    %{!shared:%{mieee-fp:-lieee}
>>> %{profile:-lc_p}%{!profile:-lc}}
>>
>> What should "cause" this? Because it is not happening.
>
> checking whether pthreads work with -pthread... yes
>
> It then ends up in PTHREAD_CFLAGS and is included in CFLAGS (used for
> compiling and linking).

But that's not the case, because linking happens without -lpthread. That's
the original problem we started with.

Paul