[webkit-dev] Pthread

Konstantin Tokarev annulen at yandex.ru
Fri Jul 7 05:05:13 PDT 2017



07.07.2017, 15:01, "Nagendra K" <pingnagendra at gmail.com>:
> 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 at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev


-- 
Regards,
Konstantin


More information about the webkit-dev mailing list