RESOLVED FIXED300978
CMake Swift build should ignore pthread
https://bugs.webkit.org/show_bug.cgi?id=300978
Summary CMake Swift build should ignore pthread
adrian_taylor
Reported 2025-10-17 05:17:34 PDT
CMake erroneously feeds extra CFLAGS from pkg-config to swiftc, which doesn't understand them. One of those is -pthread, which is produced by multiple of the packages which WebKit depends upon. When passed to the swift compiler, this causes a linking failure, because that argument is not understood. Use a wrapper script to filter it out.
Attachments
adrian_taylor
Comment 1 2025-10-17 05:17:38 PDT
adrian_taylor
Comment 2 2025-10-17 05:23:31 PDT
EWS
Comment 3 2025-10-17 08:09:56 PDT
Committed 301716@main (6a9a2e49a000): <https://commits.webkit.org/301716@main> Reviewed commits have been landed. Closing PR #52554 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.