mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-07 06:10:00 +03:00
Fix leftover osx -> macos renames
This commit is contained in:
@@ -8,7 +8,7 @@ Import("env")
|
||||
godot_headers_path = "../godot-cpp/godot-headers/"
|
||||
cpp_bindings_path = "../godot-cpp/"
|
||||
cpp_library = "libgodot-cpp"
|
||||
target_arch = env["bits"]
|
||||
target_arch = ""
|
||||
dynamic_lib_extension = ""
|
||||
|
||||
# Process some arguments
|
||||
@@ -81,10 +81,7 @@ if env["target"] in ("debug", "d"):
|
||||
else:
|
||||
cpp_library += ".release"
|
||||
|
||||
if env['platform'] == 'macos' and env['macos_arch'] != 'universal':
|
||||
cpp_library += "." + env['macos_arch']
|
||||
else:
|
||||
cpp_library += "." + "x86_64"
|
||||
cpp_library += "." + target_arch
|
||||
|
||||
env.Append(CPPPATH=[".", "src/"])
|
||||
env.Append(CPPPATH=[
|
||||
|
||||
4
thirdparty/git2/SCsub
vendored
4
thirdparty/git2/SCsub
vendored
@@ -85,7 +85,7 @@ if env_git["platform"] == "windows":
|
||||
]
|
||||
)
|
||||
|
||||
if env_git["platform"] in ["linux", "osx"]:
|
||||
if env_git["platform"] in ["linux", "macos"]:
|
||||
env_git.Append(CCFLAGS="-fPIC")
|
||||
libgit2_sources += Glob("libgit2/src/unix/" + "*.c")
|
||||
libgit2_sources += [
|
||||
@@ -126,7 +126,7 @@ if env_git["platform"] in ["linux", "osx"]:
|
||||
]
|
||||
)
|
||||
|
||||
if env_git["platform"] == "osx":
|
||||
if env_git["platform"] == "macos":
|
||||
env_git.Prepend(CPPPATH=[env_git["macos_openssl"] + "include/"])
|
||||
static_ssl = File(env_git["macos_openssl_static_ssl"])
|
||||
static_crypto = File(env_git["macos_openssl_static_crypto"])
|
||||
|
||||
4
thirdparty/ssh2/SCsub
vendored
4
thirdparty/ssh2/SCsub
vendored
@@ -57,7 +57,7 @@ if env_ssh2["platform"] == "windows":
|
||||
)
|
||||
env_ssh2.Append(LIBS=["crypt32", "user32"])
|
||||
|
||||
if env_ssh2["platform"] in ["linux", "osx"]:
|
||||
if env_ssh2["platform"] in ["linux", "macos"]:
|
||||
env_ssh2.Append(CCFLAGS="-fPIC")
|
||||
env_ssh2.Append(
|
||||
CPPPATH=[
|
||||
@@ -104,7 +104,7 @@ if env_ssh2["platform"] in ["linux", "osx"]:
|
||||
]
|
||||
)
|
||||
|
||||
if env_ssh2["platform"] == "osx":
|
||||
if env_ssh2["platform"] == "macos":
|
||||
env_ssh2.Append(CPPPATH=[env_ssh2["macos_openssl"] + "include/"])
|
||||
static_ssl = File(env_ssh2["macos_openssl_static_ssl"])
|
||||
static_crypto = File(env_ssh2["macos_openssl_static_crypto"])
|
||||
|
||||
Reference in New Issue
Block a user