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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] * Daniel Eischen <eischen@pcnet.com> [030608 19:12]: > The other way is to set PTHREAD_LIBS=-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 port. Unfortunately, mysql appears to be one of those few ports that is too smart for it's own good :) It not only uses libtool, but has quite a bit of Makefile logic to select between threading libraries like libc_r and linuxthreads. End result, it completely ignored PTHREAD_LIBS. Odd, since the configure script did appear to figure out that it wanted "-pthread" on the linker line... Oh well. --Mike [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+4/IOCczNhKRsh48RAgsEAKCh483RYid4PEzLDtRu4qKPmAs/EACfX9uP QmRIn7BCsLqbC8MPYGst6Ns= =C/0S -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030609023352.GA93648>
