svn commit: r40970 - head/en_US.ISO8859-1/books/porters-handbook
Eitan Adler
eadler at freebsd.org
Thu Feb 14 15:19:58 UTC 2013
On 14 February 2013 09:41, Alex Dupre <ale at freebsd.org> wrote:
> Pietro Cerutti ha scritto:
>> If a port insists on linking <literal>-lpthread</literal>
>> + directly, patch it to use <literal>-pthread</literal>.</para>
>
> Why bother?
Because a program that uses pthreads *must* use -pthread to both
compile and link and not use -lpthread. That it happens to work is an
implementation detail not be relied upon.
--
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams
More information about the svn-doc-all
mailing list