Date: Sun, 8 Jun 2003 22:33:52 -0400 From: Michael Edenfield <kutulu@kutulu.org> To: Daniel Eischen <eischen@pcnet.com> Cc: freebsd-threads@freebsd.org Subject: Re: mysql Message-ID: <20030609023352.GA93648@basement.kutulu.org> In-Reply-To: <Pine.GSO.4.10.10306081906210.9579-100000@pcnet5.pcnet.com> References: <20030608192058.GA37124@basement.kutulu.org> <Pine.GSO.4.10.10306081906210.9579-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Daniel Eischen <eischen@pcnet.com> [030608 19:12]: > The other way is to set PTHREAD_LIBS=3D-lkse when building > the port. At least that _should_ work if the port is > set up correctly (sometimes, autoconf or libtool can > detect a threads library on its own and can override > whatever PTHREAD_LIBS is set to). I had forgotten about that way, which is much less work for just one=20 port. Unfortunately, mysql appears to be one of those few ports=20 that is too smart for it's own good :) It not only uses libtool, but=20 has quite a bit of Makefile logic to select between threading=20 libraries like libc_r and linuxthreads. End result, it completely=20 ignored PTHREAD_LIBS. Odd, since the configure script did appear to=20 figure out that it wanted "-pthread" on the linker line... Oh well. --Mike --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+4/IOCczNhKRsh48RAgsEAKCh483RYid4PEzLDtRu4qKPmAs/EACfX9uP QmRIn7BCsLqbC8MPYGst6Ns= =C/0S -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030609023352.GA93648>