Skip to content

Commit

Permalink
Migrate to the modern linker input API. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp authored Oct 23, 2020
1 parent 6f0f9dd commit b50afd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/perl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _perl_xs_implementation(ctx):
cc_info = _perl_xs_cc_lib(ctx, toolchain, gen)
cc_infos = [cc_info] + [dep[CcInfo] for dep in ctx.attr.deps]
cc_info = cc_common.merge_cc_infos(cc_infos = cc_infos)
lib = cc_info.linking_context.libraries_to_link.to_list()[0]
lib = cc_info.linking_context.linker_inputs.to_list()[0].libraries[0]
dyn_lib = lib.dynamic_library

if len(ctx.attr.output_loc):
Expand Down

0 comments on commit b50afd8

Please sign in to comment.