We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f78a4 commit d03f7aeCopy full SHA for d03f7ae
foreign_cc/built_tools/pkgconfig_build.bzl
@@ -88,7 +88,10 @@ def _pkgconfig_tool_impl(ctx):
88
"%s install" % make_data.path,
89
]
90
91
- additional_tools = depset(transitive = [make_data.target.files])
+ if make_data.target:
92
+ additional_tools = depset(transitive = [make_data.target.files])
93
+ else:
94
+ additional_tools = depset()
95
96
return built_tool_rule_impl(
97
ctx,
0 commit comments