From cd0c2da5429de86ff8f6a41629cf3aed724d42e8 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 30 Nov 2022 12:17:55 +0100 Subject: [PATCH] Correctly compile libkiwix on native_mixed --- kiwixbuild/dependencies/libkiwix.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kiwixbuild/dependencies/libkiwix.py b/kiwixbuild/dependencies/libkiwix.py index c94567c..6ccfd0c 100644 --- a/kiwixbuild/dependencies/libkiwix.py +++ b/kiwixbuild/dependencies/libkiwix.py @@ -28,6 +28,8 @@ class Libkiwix(Dependency): return '-Db_bitcode=true' if platformInfo.name == 'flatpak': return '--wrap-mode=nodownload' + if platformInfo.name == 'native_mixed' and option('target') == 'libkiwix': + return "-Dstatic-linkage=true" return '' @property