From 74767e6234dc4a2b8f5ce2303bb49e9dfe76eac0 Mon Sep 17 00:00:00 2001 From: rgaudin Date: Wed, 16 Oct 2024 09:52:17 +0000 Subject: [PATCH] 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 --- kiwixbuild/dependencies/libcurl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kiwixbuild/dependencies/libcurl.py b/kiwixbuild/dependencies/libcurl.py index 1faa1a65..b613593f 100644 --- a/kiwixbuild/dependencies/libcurl.py +++ b/kiwixbuild/dependencies/libcurl.py @@ -32,6 +32,7 @@ class Builder(MesonBuilder): configure_options = [ f"-D{p}=disabled" for p in ( + "psl", "ssh", "ssl", "rtmp",