mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
Force static libssl.a and libcrypto.a linkage on macOS
This commit is contained in:
7
thirdparty/ssh2/SCsub
vendored
7
thirdparty/ssh2/SCsub
vendored
@@ -105,9 +105,10 @@ if env_ssh2["platform"] in ["linux", "osx"]:
|
||||
)
|
||||
|
||||
if env_ssh2["platform"] == "osx":
|
||||
env_ssh2.Append(CPPPATH=[env_ssh2["macos_ssl_path"] + "include/"])
|
||||
env_ssh2.Append(LIBPATH=[env_ssh2["macos_ssl_path"] + "lib/"])
|
||||
env_ssh2.Append(LIBS=["ssl", "crypto"])
|
||||
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"])
|
||||
env_ssh2.Append(LIBS=[static_ssl, static_crypto])
|
||||
|
||||
# TODO: Verify if this works on actual M1 hardware
|
||||
if env_ssh2["macos_arch"] == "arm64":
|
||||
|
||||
Reference in New Issue
Block a user