Skip to content

Commit

Permalink
fix: builds using preinstalled_make no longer break during pkgconfig (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
voxeljorge authored Nov 1, 2024
1 parent 07f78a4 commit d03f7ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion foreign_cc/built_tools/pkgconfig_build.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def _pkgconfig_tool_impl(ctx):
"%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(
ctx,
Expand Down

0 comments on commit d03f7ae

Please sign in to comment.