From 5ee7ce38491b18146a3a0b92e80937d9523e0973 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 4 Nov 2020 09:58:08 -0800 Subject: [PATCH] Update macOS -install_name linker flag 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"], )