fix tsan tests on FreeBSD by linking to pthread (#944)

This commit is contained in:
jonhermansen 2025-11-05 23:28:02 +00:00 committed by GitHub
parent d6005499c2
commit 3276df05a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -407,6 +407,10 @@ proc libffi_target_compile { source dest type options } {
lappend options "libs= -lpthread"
}
if { [string match "*-*-freebsd*" $target_triplet] } {
lappend options "libs= -lpthread"
}
lappend options "libs= -lffi"
if { [string match "aarch64*-*-linux*" $target_triplet] } {