Skip to content

Commit

Permalink
Update macOS -install_name linker flag (#2699)
Browse files Browse the repository at this point in the history
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.

bazelbuild/bazel#12265
  • Loading branch information
keith authored Nov 9, 2020
1 parent bf1b5b9 commit 0908892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/cgo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)
Expand Down

0 comments on commit 0908892

Please sign in to comment.