Maintained by: NLnet Labs

[Unbound-users] unbound linking bug with pthreads

Florian Weimer
Thu Feb 25 09:34:02 CET 2010


* W. C. A. Wijngaards:

> 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}}

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99