[Bazel] fix llvm bin path (#888)

This commit is contained in:
Brad Kotsopoulos
2021-09-09 03:46:25 -04:00
committed by GitHub
parent 68cfa875ed
commit cf706316f5

View File

@@ -105,7 +105,7 @@ if os.path.exists(wasm_base + '.debug.wasm') and os.path.exists(wasm_base):
# is the blaze output path; we want it to be just the filename.
llvm_objcopy = os.path.join(
os.environ['EMSCRIPTEN'], 'llvm-bin/llvm-objcopy')
os.environ['EM_BIN_PATH'], 'bin/llvm-objcopy')
# First, check to make sure the .wasm file has the header that needs to be
# rewritten.
rtn = subprocess.call([