build: disable WebSocket support with Boost 1.87.0 and later
The WebSocket++ library is incompatible with the recently released
Boost 1.87.0 (and presumably all future versions) and is unlikely
to be fixed any time soon.
Change-Id: Ic81f658a4f89ac3f1d9e61fca9742169f9604cb9
diff --git a/wscript b/wscript
index 45f8b22..11c470e 100644
--- a/wscript
+++ b/wscript
@@ -130,7 +130,10 @@
errmsg='not found, but required for Ethernet face support. '
'Specify --without-libpcap to disable Ethernet face support.')
- conf.checkWebsocket()
+ # WebSocket++ is incompatible with Boost 1.87.0
+ # https://github.com/zaphoyd/websocketpp/issues/1157
+ if conf.env.BOOST_VERSION_NUMBER < 108700:
+ conf.checkWebsocket()
conf.check_compiler_flags()