Skip to content

Commit a98cdf6

Browse files
committed
Fix BoringSSL linking issue.
BoringSSL now requires a C++ runtime to be linked during the build.
1 parent 59978f4 commit a98cdf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ RUN cd nginx && \
4949
--with-http_ssl_module \
5050
--with-http_v2_module \
5151
--with-http_v3_module \
52-
--with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1' \
53-
--with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto'
52+
--with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1 -x c' \
53+
--with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto' \
54+
--with-cc=c++
5455

5556
RUN cd nginx && make -j$(nproc)
5657
RUN cd nginx && make install

0 commit comments

Comments
 (0)