mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 11:19:35 +01:00
Merge pull request #14627 from jonhermansen/libstore-curl-version-maximum
libstore: fix curl version check to allow 8.17.0
This commit is contained in:
commit
2594e417b5
1 changed files with 3 additions and 1 deletions
|
|
@ -114,7 +114,9 @@ boost = dependency(
|
||||||
deps_other += boost
|
deps_other += boost
|
||||||
|
|
||||||
curl = dependency('libcurl', 'curl', version : '>= 7.75.0')
|
curl = dependency('libcurl', 'curl', version : '>= 7.75.0')
|
||||||
if curl.version().version_compare('>=8.16.0 <8.17.0')
|
if curl.version().version_compare('>=8.16.0') and curl.version().version_compare(
|
||||||
|
'<8.17.0',
|
||||||
|
)
|
||||||
# Out of precaution, avoid building with libcurl version that suffer from https://github.com/curl/curl/issues/19334.
|
# Out of precaution, avoid building with libcurl version that suffer from https://github.com/curl/curl/issues/19334.
|
||||||
error(
|
error(
|
||||||
'curl @0@ has issues with write pausing, please use libcurl < 8.16 or >= 8.17, see https://github.com/curl/curl/issues/19334'.format(
|
'curl @0@ has issues with write pausing, please use libcurl < 8.16 or >= 8.17, see https://github.com/curl/curl/issues/19334'.format(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue