"-pthread" == "-lpthread" for shared libs in -CURRENT

Alexander Kabaev kabaev at gmail.com
Sat Jun 2 13:10:46 UTC 2007


On Sat, 2 Jun 2007 12:50:58 +0300 (EEST)
Vladimir Kushnir <vkushnir at bigmir.net> wrote:

> *lib:
> %{!shared:
> %{!pg: %{pthread:-lpthread} -lc}
> %{pg:  %{pthread:-lpthread_p} -lc_p}
> }
> %{shared: %{pthread:-lpthread} -lc}
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Is this behaviour intended?
> 

Not only intended, it is absolutely necessary for symbol versions in
libc and libthread(libkse,libthr) to have any sense.   

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070602/d01c3e9d/signature.pgp


More information about the freebsd-current mailing list