[Mesa-dev] [PATCH 1/2] configure.ac: Don't set PTHREAD_LIBS when it is not present

Emil Velikov emil.l.velikov at gmail.com
Thu Nov 10 19:04:55 UTC 2016


On 9 November 2016 at 21:22, Gurchetan Singh
<gurchetansingh at chromium.org> wrote:
> AX_PTHREADS sets PTHREAD_CFLAGS and PTHREAD_LIBS, and we should
> not append to it.
>
> This breaks building EGL since PTHREAD_CFLAGS isn't specified, so
> let's add it here.
>
> I couldn't find any other places where this breaks the build in
> my configuration.  If other configurations get broken, we should
> add PTHREAD_CFLAGS where needed.
>
As mentioned before - we ought to [briefly] audit things.
On second thought I'll give it a try - might be better :-P

Thanks
Emil


More information about the mesa-dev mailing list