While I am working on the WebKit project there is a need to port harfbuzz library (https://github.com/harfbuzz/harfbuzz)
This library is using meson to compile and what I did so far is create a meson cross-compile file that is used during the compilation. Unfortunately, when I try to compile it there is always -pthreads added automatically and I cannot find a way to remove it. You see meson finds that pthreads are available and adds it no matter what.
Unfortunately, this flag breaks the compilation because it is not recognised by our gcc.
My question is if anyone has worked on porting harfbuzz to OS4 in the past.
Does anyone have any experience with meson and have already ported stuff with it so can share some knowledge?
Thank you in advance for your help.