Skip to content

Commit

Permalink
Use -Xlinker for -install_name (#343)
Browse files Browse the repository at this point in the history
This supports `,` in `runtime_solib_name`.
  • Loading branch information
fmeum authored Sep 9, 2024
1 parent 691a7b1 commit 07dd08d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crosstool/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,10 @@ please file an issue at https://github.com/bazelbuild/apple_support/issues/new
flag_groups = [
flag_group(
flags = [
"-Wl,-install_name,@rpath/%{runtime_solib_name}",
"-Xlinker",
"-install_name",
"-Xlinker",
"@rpath/%{runtime_solib_name}",
],
expand_if_available = "runtime_solib_name",
),
Expand Down

0 comments on commit 07dd08d

Please sign in to comment.