diff --git a/sw.cpp b/sw.cpp index a2108a77..22cba4a6 100644 --- a/sw.cpp +++ b/sw.cpp @@ -79,7 +79,9 @@ void build(Solution &s) } if (!win_or_mingw) { +#if SW_MODULE_ABI_VERSION > 29 if (!libtesseract.getBuildSettings().TargetOS.Android) +#endif libtesseract += "pthread"_slib; } if (libtesseract.getBuildSettings().TargetOS.Arch == ArchType::aarch64)