fix: builds using preinstalled_make no longer break during pkgconfig (#1307)

This commit is contained in:
Jorge Villatoro 2024-11-01 16:12:39 -07:00 committed by GitHub
parent 07f78a48cf
commit d03f7ae79d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -88,7 +88,10 @@ def _pkgconfig_tool_impl(ctx):
"%s install" % make_data.path, "%s install" % make_data.path,
] ]
additional_tools = depset(transitive = [make_data.target.files]) if make_data.target:
additional_tools = depset(transitive = [make_data.target.files])
else:
additional_tools = depset()
return built_tool_rule_impl( return built_tool_rule_impl(
ctx, ctx,