Fix building rules_foreign_cc targets in Bazel. (#968)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source external/emsdk/emscripten_toolchain/env.sh
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
exec python3 $EMSCRIPTEN/emar.py "$@"
|
exec python3 $EMSCRIPTEN/emar.py "$@"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source external/emsdk/emscripten_toolchain/env.sh
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
exec python3 $EMSCRIPTEN/emcc.py "$@"
|
exec python3 $EMSCRIPTEN/emcc.py "$@"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source external/emsdk/emscripten_toolchain/env.sh
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
exec python3 external/emsdk/emscripten_toolchain/link_wrapper.py "$@"
|
exec python3 $(dirname $0)/link_wrapper.py "$@"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export ROOT_DIR=`(pwd -P)`
|
export ROOT_DIR=${EXT_BUILD_ROOT:-$(pwd -P)}
|
||||||
export EMSCRIPTEN=$ROOT_DIR/$EM_BIN_PATH/emscripten
|
export EMSCRIPTEN=$ROOT_DIR/$EM_BIN_PATH/emscripten
|
||||||
export EM_CONFIG=$ROOT_DIR/$EM_CONFIG_PATH
|
export EM_CONFIG=$ROOT_DIR/$EM_CONFIG_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user