Re: [webkit-dev] Pthread

2017-07-07 Thread Konstantin Tokarev


07.07.2017, 15:01, "Nagendra K" :
> Hi All,
>
> When building JavaScriptCore I am not able to link pthread calls.
> Is there a way we can specify the CMakeLists.txt with option to include 
> pthread.
>
> I am using Ubuntu machine to build.

You need to link ${CMAKE_THREAD_LIBS_INIT}, see

https://trac.webkit.org/browser/trunk/Source/WTF/wtf/PlatformGTK.cmake#L24
https://trac.webkit.org/browser/trunk/Source/WTF/wtf/PlatformJSCOnly.cmake#L54

>
> Thanks and Regards,
> Nagendra
> ,
>
> ___
> webkit-dev mailing list
> webkit-dev@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev


-- 
Regards,
Konstantin
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Pthread

2017-07-07 Thread Nagendra K
Hi All,

When building JavaScriptCore I am not able to link pthread calls.
Is there a way we can specify the CMakeLists.txt with option to include
pthread.

I am using Ubuntu machine to build.

Thanks and Regards,
Nagendra
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev