Skip to content

Commit 23b3e18

Browse files
authored
Allow @emsdk to be imported in a non-x86_64 host. (#970)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 7eecde8 commit 23b3e18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bazel/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ config_setting(
2424
],
2525
)
2626

27+
filegroup(name = "empty")
28+
2729
alias(
2830
name = "binaries",
2931
actual = select({
3032
":linux": "@emscripten_bin_linux//:all",
3133
":macos": "@emscripten_bin_mac//:all",
3234
":windows": "@emscripten_bin_win//:all",
35+
"//conditions:default": ":empty",
3336
}),
3437
)
3538

@@ -39,5 +42,6 @@ alias(
3942
":linux": "@emscripten_npm_linux//:node_modules",
4043
":macos": "@emscripten_npm_mac//:node_modules",
4144
":windows": "@emscripten_npm_win//:node_modules",
45+
"//conditions:default": ":empty",
4246
}),
4347
)

0 commit comments

Comments
 (0)