Set MAKE env var (#638)
* Set MAKE env var * Update foreign_cc/private/configure_script.bzl Co-authored-by: UebelAndre <github@uebelandre.com> Co-authored-by: UebelAndre <andre.brisco@gmail.com> Co-authored-by: UebelAndre <github@uebelandre.com>
This commit is contained in:
parent
2baa2e8948
commit
cef5ee61ff
|
@ -106,6 +106,7 @@ def _create_configure_script(configureParameters):
|
|||
autogen_options = ctx.attr.autogen_options,
|
||||
autogen_env_vars = ctx.attr.autogen_env_vars,
|
||||
make_commands = make_commands,
|
||||
make_path = attrs.make_path,
|
||||
)
|
||||
return define_install_prefix + configure
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ def create_configure_script(
|
|||
autogen_command,
|
||||
autogen_options,
|
||||
autogen_env_vars,
|
||||
make_path,
|
||||
make_commands):
|
||||
env_vars_string = _get_env_vars(workspace_name, tools, flags, user_vars, deps, inputs)
|
||||
|
||||
|
@ -41,6 +42,8 @@ def create_configure_script(
|
|||
root_path = "$$BUILD_TMPDIR$$"
|
||||
configure_path = "{}/{}".format(root_path, configure_command)
|
||||
|
||||
script.append("##export_var## MAKE {}".format(make_path))
|
||||
|
||||
if autogen:
|
||||
# NOCONFIGURE is pseudo standard and tells the script to not invoke configure.
|
||||
# We explicitly invoke configure later.
|
||||
|
|
Loading…
Reference in New Issue