feat(testsuite): add -lpthread flag for wasm32 targets

This commit is contained in:
Anthony Green 2025-06-08 07:53:00 -04:00
parent f530522ce4
commit 70b34efece

View File

@ -435,6 +435,7 @@ proc libffi_target_compile { source dest type options } {
# which causes it to be seen as unsupported.
if { [string match "wasm32-*" $target_triplet] } {
lappend options "additional_flags=-Wno-unused-command-line-argument"
lappend options "libs= -lpthread"
}
verbose "options: $options"