Fix compatibility with older macOS versions
https://forums.ankiweb.net/t/anki-2-1-50-qt5-wont-open/19091
This commit is contained in:
parent
a9769813ba
commit
72c7d64876
4
.bazelrc
4
.bazelrc
@ -10,6 +10,10 @@ build:windows --build_python_zip=false
|
||||
# record version/build hash
|
||||
build --workspace_status_command='bash ./tools/status.sh'
|
||||
|
||||
# support macOS 10.13+
|
||||
build:macos --action_env="MACOSX_DEPLOYMENT_TARGET=10.13"
|
||||
build:macos --macos_minimum_os=10.13
|
||||
|
||||
# run clippy when compiling rust in test mode
|
||||
test --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect --output_groups=+clippy_checks
|
||||
|
||||
|
@ -8,6 +8,7 @@ cargo_build_script(
|
||||
srcs = ["build.rs"],
|
||||
build_script_env = {
|
||||
"PYO3_PYTHON": "$(location @python)",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
},
|
||||
data = [
|
||||
"@python",
|
||||
|
Loading…
Reference in New Issue
Block a user