Correctly compile libkiwix on native_mixed

This commit is contained in:
Matthieu Gautier 2022-11-30 12:17:55 +01:00
parent 67a20fd576
commit cd0c2da542
1 changed files with 2 additions and 0 deletions

View File

@ -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