mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-04 22:09:55 +03:00
Pick the correct .a libs for macOS OpenSSL
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: build-macos-release-x64
|
- name: build-macos-release-x64
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
brew install scons
|
brew install scons openssl@1.1
|
||||||
scons platform=osx target=release bits=64 godot_cpp=yes generate_bindings=yes use_custom_api_file=yes custom_api_file=api.ci.json macos_arch=x86_64 use_llvm=yes -j $(sysctl -n hw.logicalcpu)
|
scons platform=osx target=release bits=64 godot_cpp=yes generate_bindings=yes use_custom_api_file=yes custom_api_file=api.ci.json macos_arch=x86_64 use_llvm=yes -j $(sysctl -n hw.logicalcpu)
|
||||||
otool -L demo/addons/godot-git-plugin/osx/libgitapi.dylib
|
otool -L demo/addons/godot-git-plugin/osx/libgitapi.dylib
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ opts.Add(EnumVariable("macos_arch", "Target macOS architecture",
|
|||||||
opts.Add(PathVariable("macos_openssl", "Path to OpenSSL libraries - only used in macOS builds.",
|
opts.Add(PathVariable("macos_openssl", "Path to OpenSSL libraries - only used in macOS builds.",
|
||||||
"/usr/local/opt/openssl@1.1/", PathVariable.PathAccept))
|
"/usr/local/opt/openssl@1.1/", PathVariable.PathAccept))
|
||||||
opts.Add(PathVariable("macos_openssl_static_ssl", "Path to OpenSSL libssl.a library - only used in macOS builds.",
|
opts.Add(PathVariable("macos_openssl_static_ssl", "Path to OpenSSL libssl.a library - only used in macOS builds.",
|
||||||
"/usr/local/opt/openssl@1.1/lib/libssl.1.1.a", PathVariable.PathAccept))
|
"/usr/local/opt/openssl@1.1/lib/libssl.a", PathVariable.PathAccept))
|
||||||
opts.Add(PathVariable("macos_openssl_static_crypto", "Path to OpenSSL libcrypto.a library - only used in macOS builds.",
|
opts.Add(PathVariable("macos_openssl_static_crypto", "Path to OpenSSL libcrypto.a library - only used in macOS builds.",
|
||||||
"/usr/local/opt/openssl@1.1/lib/libcrypto.1.1.a", PathVariable.PathAccept))
|
"/usr/local/opt/openssl@1.1/lib/libcrypto.a", PathVariable.PathAccept))
|
||||||
|
|
||||||
# Updates the environment with the option variables.
|
# Updates the environment with the option variables.
|
||||||
opts.Update(env)
|
opts.Update(env)
|
||||||
|
|||||||
Reference in New Issue
Block a user