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

From: Vladimir Kushnir <vkushnir_at_bigmir.net>
Date: Sat, 2 Jun 2007 18:14:38 +0300 (EEST)
On Sat, 2 Jun 2007, Alexander Kabaev wrote:

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

Thanks. I was merely a wee bit surprised.

Regards,
Vladimir
Received on Sat Jun 02 2007 - 13:14:57 UTC

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