]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: configure OpenSSL's libdir as 'lib' only
authorStefan Eissing <stefan@eissing.org>
Thu, 4 Jul 2024 14:39:20 +0000 (16:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Jul 2024 08:16:08 +0000 (10:16 +0200)
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

.github/workflows/http3-linux.yml
.github/workflows/linux.yml
docs/HTTP3.md

index 4c77a6e7996e2e2931f68bc65d421b0cdad6aa9e..32797c00ee87ef6d1239e42876627580872025e4 100644 (file)
@@ -180,7 +180,7 @@ jobs:
           cd $HOME
           git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl quictls
           cd quictls
-          ./config no-deprecated --prefix=$PWD/build --libdir=$PWD/build/lib
+          ./config no-deprecated --prefix=$PWD/build --libdir=lib
           make
           make -j1 install_sw
         name: 'build quictls'
index f81287737a69831ed1bddb388c05705099e630c2..27eebcc048c61c231ca8b34f37baf0e07252a112 100644 (file)
@@ -297,7 +297,7 @@ jobs:
         run: |
           git clone --quiet --depth=1 -b ${{ env.openssl3-version }} https://github.com/openssl/openssl
           cd openssl
-          ./config --prefix=$HOME/openssl3 --libdir=$HOME/openssl3/lib
+          ./config --prefix=$HOME/openssl3 --libdir=lib
           make -j1 install_sw
 
       - name: cache quictls
@@ -315,7 +315,7 @@ jobs:
         run: |
           git clone --quiet --depth=1 -b openssl-${{ env.quictls-version }} https://github.com/quictls/openssl
           cd openssl
-          ./config --prefix=$HOME/quictls --libdir=$HOME/quictls/lib
+          ./config --prefix=$HOME/quictls --libdir=lib
           make -j1 install_sw
 
       - name: cache msh3
index 9d24376fd2f654981a32dbea368b8a15e0fa7150..e75a3e8d8542c1dc827881debb324bd07425449c 100644 (file)
@@ -215,7 +215,7 @@ Build OpenSSL 3.3.1
      % cd ..
      % git clone -b openssl-3.3.1 https://github.com/openssl/openssl
      % cd openssl
-     % ./config enable-tls1_3 --prefix=<somewhere> --libdir=<somewhere>/lib
+     % ./config enable-tls1_3 --prefix=<somewhere> --libdir=lib
      % make
      % make install