From fdb2172bede3cf76ee2d05773edc199d82e48444 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Thu, 20 Jul 2023 14:59:24 -0700 Subject: [PATCH] Build libwebsocket from source --- utils/scripts/setup-env.bash | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/utils/scripts/setup-env.bash b/utils/scripts/setup-env.bash index e564c960..f1c18cb0 100644 --- a/utils/scripts/setup-env.bash +++ b/utils/scripts/setup-env.bash @@ -45,7 +45,15 @@ if [ $SETUP_NETWORK = true ]; then sudo apt-get install --assume-yes \ libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf \ protobuf-compiler-grpc libgrpc-dev libgrpc++-dev \ - libwebsockets-dev libpaho-mqtt-dev + libpaho-mqtt-dev + # Setup libwebsockets + git clone https://github.com/warmcat/libwebsockets.git + pushd libwebsockets + mkdir build + cd build + cmake .. + make + popd # Setup crow curl --proto '=https' --tlsv1.2 -L -o ./crow.deb "${CROW_URL}" sudo apt-get install --assume-yes ./crow.deb