Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] -lpthread in LIBS and REQUIRES?
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2011-08-04 11:03:19


Brice Goglin, le Thu 04 Aug 2011 16:58:19 +0200, a écrit :
> 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.

What was the missing reference?

> We use some pthread functions, so is there a good reason not
> to put -lpthread in LIBS? (and HWLOC_REQUIRES?)

We already use weak references to avoid having to do this.

Samuel