boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
200 stars 161 forks source link

hardcoded check for libpthreadGC2.a for mingw-w64 gcc #157

Closed hanetzer closed 6 years ago

hanetzer commented 6 years ago

Since I can't reopen #156 and @viboes closed it without even looking into it I have to make a new one.

The problem here is that boost has a hardcoded check for libpthreadGC2.a, when mingw-w64's runtime provides a posix thread library in the same naming and usage scheme, requiring no extra work on that part. You guys should take advantage of it, so end users won't have to install another otherwise unneeded dependency when a perfectly good pthreads implementation is already available in their toolchain.

This is a Boost.Thread issue, it lives in your build files, and it is not invalid.

viboes commented 6 years ago

See #156.