Disable libpsl when compiling libcurl

libpsl is a lib that provides the Public Suffix List: the list
of all TLDs.
It's an optional feature of libcurl that we dont need for libkiwix.

Leaving it included causes issues when compiling for apple_all_static
on x86_64 as libpsf is installed (and thus found by libcurl's configure)
but is obviously only for x86_64.

An alternative could be to either cross-compile it first and properly
reference that version.

That sounds like too much effort for a feature we know we dont need.

https://github.com/rockdaboot/libpsl
This commit is contained in:
rgaudin 2024-10-16 09:52:17 +00:00
parent c58b209f33
commit 74767e6234
No known key found for this signature in database
GPG Key ID: 447475A4CFBA2E24
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ class LibCurl(Dependency):
configure_options = [ configure_options = [
f"-D{p}=disabled" f"-D{p}=disabled"
for p in ( for p in (
"psl",
"ssh", "ssh",
"ssl", "ssl",
"rtmp", "rtmp",