From 5765fe59aaf496cbb1aed836427199a059c003e6 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:40:56 +0900 Subject: [PATCH] nghttp2: Update build options (#11658) --- projects/nghttp2/Dockerfile | 7 ++----- projects/nghttp2/build.sh | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/projects/nghttp2/Dockerfile b/projects/nghttp2/Dockerfile index c4c36e725..d64dbc64f 100644 --- a/projects/nghttp2/Dockerfile +++ b/projects/nghttp2/Dockerfile @@ -20,11 +20,8 @@ RUN apt-get update && apt-get install -y \ autoconf \ automake \ libtool \ - pkg-config \ - libcunit1 \ - libcunit1-doc \ - libcunit1-dev + pkg-config -RUN git clone --depth 1 https://github.com/nghttp2/nghttp2.git +RUN git clone --recursive --shallow-submodules --depth 1 https://github.com/nghttp2/nghttp2.git WORKDIR nghttp2 COPY build.sh *.options $SRC/ diff --git a/projects/nghttp2/build.sh b/projects/nghttp2/build.sh index d8b839c0f..5260183d7 100755 --- a/projects/nghttp2/build.sh +++ b/projects/nghttp2/build.sh @@ -15,10 +15,9 @@ # ################################################################################ -git submodule update --init --depth 1 mkdir build cd build -cmake -DENABLE_LIB_ONLY=ON -DENABLE_STATIC_LIB=ON -DHAVE_CUNIT=ON ../ +cmake -DENABLE_LIB_ONLY=ON -DBUILD_STATIC_LIBS=ON ../ make make check