mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:51:53 +03:00
build: drop openssl module dependency for BoringSSL from libcurl.pc
BoringSSL does not provide pc files, as of v0.20260211.0 (and its latest
main branch.) It also did not provide them in the past.
Its sibling fork, AWS-LC does provide them since v1.18.0 (2023-12-04):
7e6aef83ec
https://github.com/aws/aws-lc/pull/1310
Introduce internal variable `OPENSSL_IS_AWSLC` to make this possible.
Bug: https://github.com/curl/curl/pull/20926#issuecomment-4063674714
Ref: https://github.com/ngtcp2/ngtcp2/pull/1689#issuecomment-4063725461
Closes #20938
This commit is contained in:
parent
3e8df37885
commit
e05cfd6454
3 changed files with 10 additions and 7 deletions
|
|
@ -3315,7 +3315,7 @@ if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$HAVE_LIBR
|
|||
fi
|
||||
|
||||
if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$HAVE_LIBRESSL" != "1" &&
|
||||
test "$OPENSSL_IS_BORINGSSL" != "1" && test "$OPENSSL_QUIC_API2" != "1"; then
|
||||
test "$OPENSSL_IS_AWSLC" != "1" && test "$OPENSSL_IS_BORINGSSL" != "1" && test "$OPENSSL_QUIC_API2" != "1"; then
|
||||
|
||||
dnl backup the pre-ngtcp2_crypto_quictls variables
|
||||
CLEANLDFLAGS="$LDFLAGS"
|
||||
|
|
@ -3373,8 +3373,8 @@ if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$HAVE_LIBR
|
|||
fi
|
||||
fi
|
||||
|
||||
if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$OPENSSL_IS_BORINGSSL" != "1" &&
|
||||
test "$OPENSSL_QUIC_API2" = "1"; then
|
||||
if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" &&
|
||||
test "$OPENSSL_IS_AWSLC" != "1" && test "$OPENSSL_IS_BORINGSSL" != "1" && test "$OPENSSL_QUIC_API2" = "1"; then
|
||||
|
||||
dnl backup the pre-ngtcp2_crypto_ossl variables
|
||||
CLEANLDFLAGS="$LDFLAGS"
|
||||
|
|
@ -3433,7 +3433,8 @@ if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$OPENSSL_I
|
|||
fi
|
||||
fi
|
||||
|
||||
if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" && test "$OPENSSL_IS_BORINGSSL" = "1"; then
|
||||
if test "$USE_NGTCP2" = "1" && test "$OPENSSL_ENABLED" = "1" &&
|
||||
(test "$OPENSSL_IS_AWSLC" = "1" || test "$OPENSSL_IS_BORINGSSL" = "1"); then
|
||||
|
||||
dnl backup the pre-ngtcp2_crypto_boringssl variables
|
||||
CLEANLDFLAGS="$LDFLAGS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue