File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
bazel/emscripten_toolchain Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source external/emsdk/emscripten_toolchain /env.sh
3
+ source $( dirname $0 ) /env.sh
4
4
5
5
exec python3 $EMSCRIPTEN /emar.py " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source external/emsdk/emscripten_toolchain /env.sh
3
+ source $( dirname $0 ) /env.sh
4
4
5
5
exec python3 $EMSCRIPTEN /emcc.py " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source external/emsdk/emscripten_toolchain /env.sh
3
+ source $( dirname $0 ) /env.sh
4
4
5
- exec python3 external/emsdk/emscripten_toolchain /link_wrapper.py " $@ "
5
+ exec python3 $( dirname $0 ) /link_wrapper.py " $@ "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- export ROOT_DIR=` (pwd -P)`
3
+ export ROOT_DIR=${EXT_BUILD_ROOT :- $ (pwd -P)}
4
4
export EMSCRIPTEN=$ROOT_DIR /$EM_BIN_PATH /emscripten
5
5
export EM_CONFIG=$ROOT_DIR /$EM_CONFIG_PATH
You can’t perform that action at this time.
0 commit comments