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