We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26d3839 commit f04eea0Copy full SHA for f04eea0
1 file changed
rust/private/rustc.bzl
@@ -2317,10 +2317,10 @@ def portable_link_flags(
2317
"-Clink-arg=-l{}".format(get_lib_name(artifact)),
2318
]
2319
elif _is_dylib(lib):
2320
+ lib_file_name = artifact.basename
2321
if for_windows or for_darwin:
2322
use_lib_name = True
2323
else:
- lib_file_name = artifact.basename
2324
use_lib_name = (lib_file_name.startswith("lib") and lib_file_name.endswith(".so"))
2325
2326
if use_lib_name:
0 commit comments