Skip to content

Commit

Permalink
Fix platform condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gferon committed Sep 19, 2023
1 parent e55654d commit b3a7e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _android_ndk_repository_impl(ctx):

if ndk_platform == "linux":
clang_directory = "toolchains/llvm/prebuilt/linux-x86_64"
elif ndk_platform == "mac os x":
elif ndk_platform == "darwin:
# Note: darwin-x86_64 does indeed contain fat binaries with arm64 slices, too.
clang_directory = "toolchains/llvm/prebuilt/darwin-x86_64"
elif ndk_platform == "windows":
Expand Down

0 comments on commit b3a7e47

Please sign in to comment.