Jeff Squyres, le Thu 04 Aug 2011 17:07:45 +0200, a écrit :
> On Aug 4, 2011, at 10:57 AM, Brice Goglin wrote:
> > While playing with static hwloc libraries and binaries [1], I had to
> > manually add -lpthread to LIBS to get the fully-static binaries to link
> > properly. We use some pthread functions, so is there a good reason not
> > to put -lpthread in LIBS? (and HWLOC_REQUIRES?)
>
> Where do we use the pthread functions -- in the libhwloc core, or just in the utils?
In the core, but only if they are linked-in, through weak references.
Samuel
|