Pthread

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pthread

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
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pthread

Konstantin Tokarev


07.07.2017, 15:01, "Nagendra K" <[hidden email]>:
> 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
> [hidden email]
> https://lists.webkit.org/mailman/listinfo/webkit-dev


-- 
Regards,
Konstantin
_______________________________________________
webkit-dev mailing list
[hidden email]
https://lists.webkit.org/mailman/listinfo/webkit-dev
Loading...