From: Shuanglei Tao Date: Mon, 27 Jul 2020 14:58:54 +0000 (+0800) Subject: scripts: optimize libwebsockets build X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=aa6c6c708d6d0f28c2f40365714eb0c1cba22c81;p=ttyd.git scripts: optimize libwebsockets build --- 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