Skip to content

Commit

Permalink
verilator: Add pic_static_library to output files
Browse files Browse the repository at this point in the history
  • Loading branch information
hovind committed Jan 15, 2024
1 parent e49f6a7 commit f30da88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions verilator/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def cc_compile_and_link_static_library(ctx, srcs, hdrs, deps, runfiles, includes
)

output_files = []
if linking_output.library_to_link.pic_static_library != None:
output_files.append(linking_output.library_to_link.pic_static_library)
if linking_output.library_to_link.static_library != None:
output_files.append(linking_output.library_to_link.static_library)
if linking_output.library_to_link.dynamic_library != None:
Expand Down

0 comments on commit f30da88

Please sign in to comment.