[PATCH libX11] Fix libpthread linkage on OpenBSD.

David Coppa dcoppa at gmail.com
Wed Jul 13 08:23:48 PDT 2011


On Tue, 12 Jul 2011, Alan Coopersmith wrote:

> I can't comment on whether that's the right flag to use, but once you've
> chosen the flag, that seems like a reasonable way to do it, assuming you
> don't also need the -D_THREAD_SAFE found in the freebsd case.

Hi,

Unlike FreeBSD, OpenBSD does not want "-D_THREAD_SAFE" to be
explicitly defined: '-pthread' is the only flag needed.

> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Thanks,
David


More information about the xorg-devel mailing list