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

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Sat, 2 Jun 2007 09:10:25 -0400
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

Received on Sat Jun 02 2007 - 11:10:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC