[vlc-devel] [PATCH] Add detection of POSIX threads via cc -pthread

Brad brad at comstyle.com
Mon Oct 17 15:16:56 CEST 2011


On 17/10/11 8:14 AM, Rémi Denis-Courmont wrote:
> On Mon, 17 Oct 2011 06:58:47 -0400, Brad<brad at comstyle.com>  wrote:
>> The following diff adds detection of POSIX threads linking via
>> cc -pthread. This corrects the POSIX threads flag used for OpenBSD.
>
> This patch causes -pthread to be used instead of -lpthread on Linux.

For Linux that's normal. GCC on Linux provides a link spec for -pthread. 
That is fine.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the vlc-devel mailing list