From cf706316f5872493645d28cf342f68d14fb35fcd Mon Sep 17 00:00:00 2001 From: Brad Kotsopoulos Date: Thu, 9 Sep 2021 03:46:25 -0400 Subject: [PATCH] [Bazel] fix llvm bin path (#888) --- bazel/emscripten_toolchain/link_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/emscripten_toolchain/link_wrapper.py b/bazel/emscripten_toolchain/link_wrapper.py index 2f156d8..ce10dae 100644 --- a/bazel/emscripten_toolchain/link_wrapper.py +++ b/bazel/emscripten_toolchain/link_wrapper.py @@ -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([