Do not build binaries on macOS not _dyn.

Tools fails to compile for different reasons:
- Missing dependencies
- Use of invalid options (`-dead_strip_dylibs`/`-bitcode_bundle`)
This commit is contained in:
Matthieu Gautier 2023-04-28 08:59:14 +02:00
parent 02e2598056
commit 8f8ea01aec
1 changed files with 3 additions and 1 deletions

View File

@ -27,8 +27,10 @@ def select_build_target():
elif PLATFORM_TARGET.startswith("macOS"):
if PLATFORM_TARGET.endswith("_mixed"):
return ("libzim", "libkiwix")
else:
elif PLATFORM_TARGET.endswith("_dyn"):
return ("zim-tools", "kiwix-tools")
else:
return []
elif PLATFORM_TARGET.startswith("native_"):
if OS_NAME == "osx":
if PLATFORM_TARGET.endswith("_mixed"):