how to build boringssl for HTTP3

Posted by zhuizhuhaomeng Blog on September 24, 2023

compile command

1
2
3
4
5
6
7
8
9
10
11
12
13
git clone git@github.com:google/boringssl
cd boringssl

mkdir -p build
cd build
cmake -DBUILD_SHARED_LIBS=1 ..
make -j$(nproc)
make install
cd ..
rm -fr install/lib
cd install && ln -s lib64 lib && cd ..
tar -czf boringssl-$(date '+%Y%m%d').tar.gz install
sudo mkdir -p /opt/boringssl && sudo tar -C /opt/boringssl -xf boringssl-$(date '+%Y%m%d').tar.gz --strip-components=1

installation command

1
sudo mkdir -p /opt/ssl && sudo tar -C /opt/ssl -xf boringssl-$(date '+%Y%m%d').tar.gz --strip-components=1