Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 18:14:38 +0300 (EEST)
From:      Vladimir Kushnir <vkushnir@bigmir.net>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: "-pthread" == "-lpthread" for shared libs in -CURRENT
Message-ID:  <20070602181324.H1195@kushnir1.kiev.ua>
In-Reply-To: <20070602091025.77c63415@kan.dnsalias.net>
References:  <20070602121928.G90169@kushnir1.kiev.ua> <20070602091025.77c63415@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 2 Jun 2007, Alexander Kabaev wrote:

> On Sat, 2 Jun 2007 12:50:58 +0300 (EEST)
> Vladimir Kushnir <vkushnir@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070602181324.H1195>