Skip to content

Commit

Permalink
Make cc_info_dylibs_partial handle only .dylib files. (#2516) (#2517)
Browse files Browse the repository at this point in the history
This change will fix #2516.
  • Loading branch information
hiroyuki-komatsu authored Sep 10, 2024
1 parent 5699172 commit 1053ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/internal/partials/cc_info_dylibs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _cc_info_dylibs_partial_impl(
cc_info = target[CcInfo]
for linker_input in cc_info.linking_context.linker_inputs.to_list():
for library in linker_input.libraries:
if library.dynamic_library:
if library.dynamic_library and library.dynamic_library.extension == "dylib":
bundle_files.append(
(processor.location.framework, None, depset([library.dynamic_library])),
)
Expand Down

0 comments on commit 1053ce7

Please sign in to comment.