diff --git a/third_party/nasm/BUILD.system b/third_party/nasm/BUILD.system index 7f74da7595a..52f608187fe 100644 --- a/third_party/nasm/BUILD.system +++ b/third_party/nasm/BUILD.system @@ -5,8 +5,14 @@ filegroup( visibility = ["//visibility:public"], ) +genrule( + name = "lnnasmlink", + outs = ["nasmlink"], + cmd = "ln -s $$(which nasm) $@", +) + sh_binary( name = "nasm", - srcs = ["nasm"], + srcs = ["nasmlink"], visibility = ["@libjpeg_turbo//:__pkg__"], )