Skip to content

Commit

Permalink
[sw] Do not link pthread on android.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Jul 26, 2022
1 parent 4de02dd commit 4c92a58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ void build(Solution &s)
}
if (!win_or_mingw)
{
libtesseract += "pthread"_slib;
if (!libtesseract.getBuildSettings().TargetOS.Android)
libtesseract += "pthread"_slib;
}
if (libtesseract.getBuildSettings().TargetOS.Arch == ArchType::aarch64)
{
Expand Down

0 comments on commit 4c92a58

Please sign in to comment.