mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-24 04:53:29 -04:00
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:
parent
02e2598056
commit
8f8ea01aec
4
.github/scripts/build_projects.py
vendored
4
.github/scripts/build_projects.py
vendored
@ -27,8 +27,10 @@ def select_build_target():
|
|||||||
elif PLATFORM_TARGET.startswith("macOS"):
|
elif PLATFORM_TARGET.startswith("macOS"):
|
||||||
if PLATFORM_TARGET.endswith("_mixed"):
|
if PLATFORM_TARGET.endswith("_mixed"):
|
||||||
return ("libzim", "libkiwix")
|
return ("libzim", "libkiwix")
|
||||||
else:
|
elif PLATFORM_TARGET.endswith("_dyn"):
|
||||||
return ("zim-tools", "kiwix-tools")
|
return ("zim-tools", "kiwix-tools")
|
||||||
|
else:
|
||||||
|
return []
|
||||||
elif PLATFORM_TARGET.startswith("native_"):
|
elif PLATFORM_TARGET.startswith("native_"):
|
||||||
if OS_NAME == "osx":
|
if OS_NAME == "osx":
|
||||||
if PLATFORM_TARGET.endswith("_mixed"):
|
if PLATFORM_TARGET.endswith("_mixed"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user