nghttp2: Update build options (#11658)

This commit is contained in:
Tatsuhiro Tsujikawa 2024-03-04 19:40:56 +09:00 committed by GitHub
parent 1dcc6c535e
commit 5765fe59aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

View File

@ -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/

View File

@ -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