mysql
Michael Edenfield
kutulu at kutulu.org
Sun Jun 8 19:33:55 PDT 2003
* Daniel Eischen <eischen at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20030608/8676e68e/attachment.bin
More information about the freebsd-threads
mailing list