summaryrefslogtreecommitdiff
path: root/recipes/libpsl.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libpsl.recipe')
-rw-r--r--recipes/libpsl.recipe9
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes/libpsl.recipe b/recipes/libpsl.recipe
index 702aec79..62f3f6a7 100644
--- a/recipes/libpsl.recipe
+++ b/recipes/libpsl.recipe
@@ -10,11 +10,18 @@ class Recipe(recipe.Recipe):
tarball_checksum = '41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12'
meson_options = {'runtime': 'no', 'builtin': 'no'}
- patches = ['libpsl/0001-Initial-import-of-meson-build-files-from-upstream.patch']
+ patches = [
+ # Taken from upstream git tag 0.21.0
+ 'libpsl/0001-Initial-import-of-meson-build-files-from-upstream.patch',
+ # https://github.com/rockdaboot/libpsl/pull/148
+ 'libpsl/0001-meson-Use-libtool-library-versioning-same-as-autotoo.patch',
+ ]
files_libs = ['libpsl']
files_devel = ['include/libpsl.h', 'lib/pkgconfig/libpsl.pc']
def prepare(self):
+ # FIXME: The actual upstreamable fix would be to not use system() at
+ # all, or to have an option to disable building of tests.
if self.config.target_platform == Platform.IOS:
self.patches += ['libpsl/0002-meson-Do-not-build-tests-on-iOS.patch']