Skip to content

Commit

Permalink
Add targets to expand_location call
Browse files Browse the repository at this point in the history
  • Loading branch information
jsharpe committed Feb 16, 2021
1 parent 0118e05 commit f8170d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build_defs/configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _create_configure_script(configureParameters):
user_options = ctx.attr.configure_options,
user_vars = dict(ctx.attr.configure_env_vars),
is_debug = is_debug_mode(ctx),
configure_command = ctx.expand_location(ctx.attr.configure_command, targets=ctx.attr.tools_deps+ctx.attr.additional_tools),
configure_command = ctx.expand_location(ctx.attr.configure_command, targets=ctx.attr.tools_deps + ctx.attr.additional_tools),
deps = ctx.attr.deps,
inputs = inputs,
configure_in_place = ctx.attr.configure_in_place,
Expand All @@ -69,7 +69,7 @@ def _create_configure_script(configureParameters):
autoreconf_options = ctx.attr.autoreconf_options,
autoreconf_env_vars = ctx.attr.autoreconf_env_vars,
autogen = ctx.attr.autogen,
autogen_command = ctx.expand_location(ctx.attr.autogen_command),
autogen_command = ctx.expand_location(ctx.attr.autogen_command, targets=ctx.attr.tools_deps + ctx.attr.additional_tools),
autogen_options = ctx.attr.autogen_options,
autogen_env_vars = ctx.attr.autogen_env_vars,
)
Expand Down

0 comments on commit f8170d7

Please sign in to comment.