Skip to content

Commit

Permalink
Disable libpsl when compiling libcurl
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rgaudin committed Oct 16, 2024
1 parent c58b209 commit 74767e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kiwixbuild/dependencies/libcurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class Builder(MesonBuilder):
configure_options = [
f"-D{p}=disabled"
for p in (
"psl",
"ssh",
"ssl",
"rtmp",
Expand Down

0 comments on commit 74767e6

Please sign in to comment.