From aa6c6c708d6d0f28c2f40365714eb0c1cba22c81 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Mon, 27 Jul 2020 22:58:54 +0800 Subject: [PATCH] scripts: optimize libwebsockets build --- scripts/cross-build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/cross-build.sh b/scripts/cross-build.sh index 904006e..9d72a8c 100755 --- a/scripts/cross-build.sh +++ b/scripts/cross-build.sh @@ -104,6 +104,16 @@ build_libwebsockets() { -DLWS_WITH_SHARED=OFF \ -DLWS_UNIX_SOCK=ON \ -DLWS_IPV6=ON \ + -DLWS_ROLE_RAW_FILE=OFF \ + -DLWS_WITH_HTTP2=OFF \ + -DLWS_WITH_HTTP_BASIC_AUTH=OFF \ + -DLWS_WITH_UDP=OFF \ + -DLWS_WITHOUT_CLIENT=ON \ + -DLWS_WITH_LEJP=OFF \ + -DLWS_WITH_LEJP_CONF=OFF \ + -DLWS_WITH_LWSAC=OFF \ + -DLWS_WITH_CUSTOM_HEADERS=OFF \ + -DLWS_WITH_SEQUENCER=OFF \ .. make -j"$(nproc)" install popd -- 2.43.4