Drop libpthread check, it doesn't work with android toolchain

should be using -pthread instead anyway
This commit is contained in:
loonycyborg 2023-05-23 23:02:22 +03:00
parent f12b25b9f3
commit 03cb0c77fd
No known key found for this signature in database
GPG key ID: 6E8233FAB8F26D61

View file

@ -344,10 +344,7 @@ if env["prereqs"]:
def CheckAsio(conf):
if env["PLATFORM"] == 'win32':
conf.env.Append(LIBS = ["libws2_32"])
have_libpthread = True
else:
have_libpthread = conf.CheckLib("pthread")
return have_libpthread & \
return \
conf.CheckBoost("system") & \
conf.CheckBoost("asio", header_only = True) & \
conf.CheckBoost("context") & \