Bug 300978
| Summary: | CMake Swift build should ignore pthread | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | adrian_taylor |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
adrian_taylor
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
adrian_taylor
<rdar://problem/162856104>
adrian_taylor
Pull request: https://github.com/WebKit/WebKit/pull/52554
EWS
Committed 301716@main (6a9a2e49a000): <https://commits.webkit.org/301716@main>
Reviewed commits have been landed. Closing PR #52554 and removing active labels.