mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-03 10:09:43 +03:00
Add universal builds back to CI + link to OpenSSL dylib, not .a
This commit is contained in:
9
thirdparty/git2/SCsub
vendored
9
thirdparty/git2/SCsub
vendored
@@ -131,6 +131,13 @@ if env_git["platform"] in ["linux", "osx"]:
|
||||
)
|
||||
|
||||
if env_git["platform"] == "osx":
|
||||
env_git.Prepend(CPPPATH=["/usr/local/opt/openssl@1.1/include/"])
|
||||
# We link to OpenSSL dynamically only on macOS to allow universal builds
|
||||
env_git.Prepend(
|
||||
CPPDEFINES=[
|
||||
"CRYPT_OPENSSL_DYNAMIC",
|
||||
("GIT_OPENSSL_DYNAMIC", "1"),
|
||||
]
|
||||
)
|
||||
env_git.Prepend(CPPPATH=[env_git["macos_ssl_path"] + "include/"])
|
||||
|
||||
env_git.StaticLibrary(target="../bin/" + "git2", source=libgit2_sources)
|
||||
|
||||
Reference in New Issue
Block a user