GHA: configure OpenSSL's libdir as 'lib' only

Also mention in HTTP3.md

OpenSSL has a bug that messes the config `--libdir=path` to become the
wrong path in its pkgconfig files. If we just pass `--libdir=lib` it
should avoid this.

Ref: #14099
See also: https://github.com/openssl/openssl/issues/23569

Closes #14102
This commit is contained in:
Stefan Eissing 2024-07-04 16:39:20 +02:00 committed by Daniel Stenberg
parent 655557f2b3
commit 18c61aa036
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
3 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ jobs:
cd $HOME cd $HOME
git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl quictls git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl quictls
cd quictls cd quictls
./config no-deprecated --prefix=$PWD/build --libdir=$PWD/build/lib ./config no-deprecated --prefix=$PWD/build --libdir=lib
make make
make -j1 install_sw make -j1 install_sw
name: 'build quictls' name: 'build quictls'

View File

@ -297,7 +297,7 @@ jobs:
run: | run: |
git clone --quiet --depth=1 -b ${{ env.openssl3-version }} https://github.com/openssl/openssl git clone --quiet --depth=1 -b ${{ env.openssl3-version }} https://github.com/openssl/openssl
cd openssl cd openssl
./config --prefix=$HOME/openssl3 --libdir=$HOME/openssl3/lib ./config --prefix=$HOME/openssl3 --libdir=lib
make -j1 install_sw make -j1 install_sw
- name: cache quictls - name: cache quictls
@ -315,7 +315,7 @@ jobs:
run: | run: |
git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl
cd openssl cd openssl
./config --prefix=$HOME/quictls --libdir=$HOME/quictls/lib ./config --prefix=$HOME/quictls --libdir=lib
make -j1 install_sw make -j1 install_sw
- name: cache msh3 - name: cache msh3

View File

@ -215,7 +215,7 @@ Build OpenSSL 3.3.1
% cd .. % cd ..
% git clone -b openssl-3.3.1 https://github.com/openssl/openssl % git clone -b openssl-3.3.1 https://github.com/openssl/openssl
% cd openssl % cd openssl
% ./config enable-tls1_3 --prefix=<somewhere> --libdir=<somewhere>/lib % ./config enable-tls1_3 --prefix=<somewhere> --libdir=lib
% make % make
% make install % make install