Skip to content

Commit 5d58ae5

Browse files
authored
Make wasm-ld optional (#529)
May not be contained in all distributions.
1 parent 1495aba commit 5d58ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toolchain/BUILD.llvm_repo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ filegroup(
3838

3939
filegroup(
4040
name = "ld",
41+
# Not all distributions contain wasm-ld.
4142
srcs = [
4243
"bin/ld.lld",
4344
"bin/ld64.lld",
44-
"bin/wasm-ld",
45-
],
45+
] + glob(["bin/wasm-ld"], allow_empty = True),
4646
)
4747

4848
filegroup(

0 commit comments

Comments
 (0)