Skip to content

Commit

Permalink
fix: add missing assembly src files to ObjCxx
Browse files Browse the repository at this point in the history
Assembly files like `.S` are allowed in `srcs` of `objc_library` but we were dropping these because it was only being handled in the `else` case where we do not have Objective-C srcs.
  • Loading branch information
luispadron committed Jan 14, 2025
1 parent 9fc5882 commit b23cd2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swiftpkg/internal/swiftpkg_build_files.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,8 @@ def _clang_target_build_file(repository_ctx, pkg_ctx, target):
name = child_name,
attrs = attrs,
rule_kind = rule_kind,
srcs = clang_src_info.organized_srcs.cxx_srcs +
srcs = clang_src_info.organized_srcs.assembly_srcs +
clang_src_info.organized_srcs.cxx_srcs +
clang_src_info.organized_srcs.objcxx_srcs +
clang_src_info.organized_srcs.other_srcs +
res_objcxx_srcs,
Expand Down

0 comments on commit b23cd2e

Please sign in to comment.