From 09088926548d32dab7748d233f8e20a318868275 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 9 Nov 2020 12:51:32 -0800 Subject: [PATCH] Update macOS -install_name linker flag (#2699) The macOS toolchain is gaining support for params files for link commands. As part of this we're removing support for arguments with leading `@`s. This change should be a no-op. https://github.com/bazelbuild/bazel/pull/12265 --- tests/core/cgo/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/cgo/BUILD.bazel b/tests/core/cgo/BUILD.bazel index 656d72766f..68a7668f91 100644 --- a/tests/core/cgo/BUILD.bazel +++ b/tests/core/cgo/BUILD.bazel @@ -56,7 +56,7 @@ cc_import( cc_binary( name = "libimported.dylib", srcs = ["imported.c"], - linkopts = ["-install_name @rpath/libimported.dylib"], + linkopts = ["-Wl,-install_name,@rpath/libimported.dylib"], linkshared = True, tags = ["manual"], )