diff --git a/crosstool/cc_toolchain_config.bzl b/crosstool/cc_toolchain_config.bzl index ce3e497..85d7abd 100644 --- a/crosstool/cc_toolchain_config.bzl +++ b/crosstool/cc_toolchain_config.bzl @@ -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", ),