mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2026-01-06 14:09:54 +03:00
macOS: Disable LDID fake signing for arm64
It doesn't work and makes it impossible to sign binaries properly without using --force.
This commit is contained in:
@@ -8,7 +8,9 @@ export SCONS="scons -j${NUM_CORES} verbose=yes warnings=no progress=no"
|
|||||||
export OPTIONS="osxcross_sdk=darwin20 production=yes"
|
export OPTIONS="osxcross_sdk=darwin20 production=yes"
|
||||||
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"
|
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes mono_prefix=/root/dependencies/mono"
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
export STRIP="x86_64-apple-${osxcross_sdk}-strip -u -r"
|
export STRIP="x86_64-apple-darwin20-strip -u -r"
|
||||||
|
# Disable fake-signing of arm binaries.
|
||||||
|
export NO_LDID=1
|
||||||
|
|
||||||
rm -rf godot
|
rm -rf godot
|
||||||
mkdir godot
|
mkdir godot
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -146,7 +146,7 @@ if [ "${skip_git_checkout}" == 0 ]; then
|
|||||||
# Validate version
|
# Validate version
|
||||||
correct_version=$(python3 << EOF
|
correct_version=$(python3 << EOF
|
||||||
import version;
|
import version;
|
||||||
if hasattr(version, "patch"):
|
if hasattr(version, "patch") and version.patch != 0:
|
||||||
git_version = f"{version.major}.{version.minor}.{version.patch}-{version.status}"
|
git_version = f"{version.major}.{version.minor}.{version.patch}-{version.status}"
|
||||||
else:
|
else:
|
||||||
git_version = f"{version.major}.{version.minor}-{version.status}"
|
git_version = f"{version.major}.{version.minor}-{version.status}"
|
||||||
|
|||||||
Reference in New Issue
Block a user