Subject: Re: pthread + pkgsrc proposal
To: Martin Husemann <martin@duskware.de>
From: Johnny C. Lam <jlam@buildlink.org>
List: tech-pkg
Date: 11/24/2004 10:03:50
Martin Husemann wrote:
> On Wed, Nov 24, 2004 at 07:01:37AM +0000, Johnny C. Lam wrote:
> 
>>For pkgsrc, I will be making changes so that if the package uses 
>>dlopen(), then it will be automatically linked with pthread support. 
> 
> 
> If I have a pkg that uses dlopen, but I am realy sure that it never will
> dlopen() anything threaded - will there be a way to declare that I know
> what I'm doing and avoid the pthread linking?

Yes, a package will be able to set DLOPEN_REQUIRE_PTHREADS=no in the 
package Makefile to avoid this auto-linking.

	Cheers,

	-- Johnny Lam <jlam@buildlink.org>