Subject: Re: tcl/pthreads dependencies
To: None <email@example.com>
From: Thomas Klausner <wiz@NetBSD.org>
Date: 05/20/2004 22:22:20
On Thu, May 20, 2004 at 01:30:07PM -0600, firstname.lastname@example.org wrote:
> What is the best way to get configure to become aware that it should
> include -lpthreads on the command line when compiling the test
I don't know much about tcl, but I heard programs should use
tclConfig.sh. The package installs the file in /usr/pkg/lib/tclConfig.sh
and it contains the following lines (on a native libpthread system):
# Additional libraries to use when linking Tcl.
TCL_LIBS=' -lpthread -lm'