Skip to content

Commit

Permalink
fix link path
Browse files Browse the repository at this point in the history
Signed-off-by: Christy Norman <[email protected]>
  • Loading branch information
clnperez committed Jun 29, 2018
1 parent a4586a1 commit 2f55b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/private/actions/link.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _bootstrap_link(go, archive, executable, gc_linkopts):
inputs = inputs + go.sdk_files + go.sdk_tools,
outputs = [executable],
mnemonic = "GoLink",
command = "export GOROOT=$(pwd)/{} && export GOROOT_FINAL=GOROOT && {} {}".format(go.root, go.go.path, " ".join(args)),
command = "export GOROOT=$(pwd)/{} && export GOROOT_FINAL=GOROOT && export PATH={} && {} {}".format(go.root, go.cgo_tools.compiler_path, go.go.path, " ".join(args)),
)

def _extract_extldflags(gc_linkopts, extldflags):
Expand Down

0 comments on commit 2f55b46

Please sign in to comment.