Open James-TR opened 5 years ago
According to boost.m4:
# BOOST_CONTEXT([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
# -----------------------------------
# Look for Boost.Context. For the documentation of PREFERRED-RT-OPT, see the
# documentation of BOOST_FIND_LIB above.
[...]
# * A dependency on boost_thread appears in 1.57.0
[...]
The boost.m4 check for boost_thread <mutex>
is available.
Here's the relevant commit: https://github.com/boostorg/context/commit/01d3c901e45d8e5c93133112563953380caaf059
And the lines of code in the version of boost OpenWRT is using: https://github.com/boostorg/context/blob/boost-1.71.0/build/Jamfile.v2#L783-L789
I've opened an issue in the upstream boost.m4 repository https://github.com/tsuna/boost.m4/issues/117
Short description
Recursor is bringing in a dependency on libboost_thread even though it is not required on Linux. This is causing OpenWRT's build system to pick up an erroneous unwanted dependency that's only used in the Configure script.
Environment
Steps to reproduce
Expected behaviour
Recursor would build without any missing library errors
Actual behaviour
Recursor build shows missing libboost_thread
Other information
OpenWRT removed a dependency from their libboost_context package on libboost_thread which caused this issue because the package stopped being brought in.