Skip to content

Commit f30da88

Browse files
committed
verilator: Add pic_static_library to output files
1 parent e49f6a7 commit f30da88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

verilator/defs.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def cc_compile_and_link_static_library(ctx, srcs, hdrs, deps, runfiles, includes
6767
)
6868

6969
output_files = []
70+
if linking_output.library_to_link.pic_static_library != None:
71+
output_files.append(linking_output.library_to_link.pic_static_library)
7072
if linking_output.library_to_link.static_library != None:
7173
output_files.append(linking_output.library_to_link.static_library)
7274
if linking_output.library_to_link.dynamic_library != None:

0 commit comments

Comments
 (0)