Skip to content

Commit

Permalink
Add dependency shared libs to sandbox (#990)
Browse files Browse the repository at this point in the history
Co-authored-by: jheaff1 <[email protected]>
  • Loading branch information
jsharpe and jheaff1 authored Feb 21, 2023
1 parent 4d4a678 commit 7914d08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion foreign_cc/private/framework.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def _define_inputs(attrs):
bazel_libs +
tools_files +
input_files +
cc_info_merged.compilation_context.headers.to_list() +
cc_info_merged.compilation_context.headers.to_list() + _collect_libs(cc_info_merged.linking_context) +
ext_build_dirs,
)

Expand Down Expand Up @@ -941,7 +941,9 @@ def _extract_libraries(library_to_link):
library_to_link.static_library,
library_to_link.pic_static_library,
library_to_link.dynamic_library,
library_to_link.resolved_symlink_dynamic_library,
library_to_link.interface_library,
library_to_link.resolved_symlink_interface_library,
]

def _collect_libs(cc_linking):
Expand Down

0 comments on commit 7914d08

Please sign in to comment.