Subject: Re: tcl/pthreads dependencies
To: None <firstname.lastname@example.org>
From: John R. Shannon <email@example.com>
Date: 05/20/2004 13:36:36
=2D----BEGIN PGP SIGNED MESSAGE-----
Possibly to add a BUILDLINK_LDFLAGS.tcl+=3D-lpthreads to tcl's buildlink3.m=
On Thursday 20 May 2004 01:30 pm, firstname.lastname@example.org wrote:
> I have a package that depends on tcl, which is made with threads.
> Consequently, the tcl library refers to lots of pthreads symbols.
> I have included the tcl buildlink3.mk file in my package Makefile.
> However, when configure tries to determine where the tcl library is,
> the test program fails because of undefined pthread symbols. Clearly,
> this is because -lpthreads is not included during the test
> What is the best way to get configure to become aware that it should
> include -lpthreads on the command line when compiling the test
> Surely, this must be happening in other cases as well and have been
> solved already. Any help is welcome. Thanks.
John R. Shannon
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
=2D----END PGP SIGNATURE-----