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
|
@ -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…
Reference in New Issue