diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2023-07-17 17:40:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-18 00:40:43 +0000 |
commit | d9f2bafa88f7398fcfaef4c919af2976e8db94fc (patch) | |
tree | 0f1ab4bdd91664e7ad40805e23ac968fd1a14a0c | |
parent | fb397010b5053f322105aabedd23e16ee6037f9a (diff) | |
download | bazelbuild-apple_support-d9f2bafa88f7398fcfaef4c919af2976e8db94fc.tar.gz |
Fix objc linker output being removed (#232)
-rw-r--r-- | test/shell/apple_common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/shell/apple_common.sh b/test/shell/apple_common.sh index dc02f62..4d54fb8 100644 --- a/test/shell/apple_common.sh +++ b/test/shell/apple_common.sh @@ -68,9 +68,10 @@ def _starlark_apple_static_library_impl(ctx): ) providers = [ DefaultInfo(files = depset(files_to_build), runfiles = runfiles), - link_result.objc, link_result.output_groups, ] + if getattr(link_result, "objc", None): + providers.append(link_result.objc) return providers starlark_apple_static_library = rule( |