emscripten: fix generate config command
This commit is contained in:
parent
49f4c2dbe1
commit
7b4b076cbf
@ -204,7 +204,7 @@ termux_step_make_install() {
|
|||||||
|
|
||||||
# first run generates .emscripten and exits immediately
|
# first run generates .emscripten and exits immediately
|
||||||
rm -f "$TERMUX_PKG_SRCDIR/.emscripten"
|
rm -f "$TERMUX_PKG_SRCDIR/.emscripten"
|
||||||
./emcc
|
./emcc --generate-config
|
||||||
sed -i .emscripten -e "s|^EMSCRIPTEN_ROOT.*|EMSCRIPTEN_ROOT = '$TERMUX_PREFIX/opt/emscripten' # directory|"
|
sed -i .emscripten -e "s|^EMSCRIPTEN_ROOT.*|EMSCRIPTEN_ROOT = '$TERMUX_PREFIX/opt/emscripten' # directory|"
|
||||||
sed -i .emscripten -e "s|^LLVM_ROOT.*|LLVM_ROOT = '$TERMUX_PREFIX/opt/emscripten-llvm/bin' # directory|"
|
sed -i .emscripten -e "s|^LLVM_ROOT.*|LLVM_ROOT = '$TERMUX_PREFIX/opt/emscripten-llvm/bin' # directory|"
|
||||||
sed -i .emscripten -e "s|^BINARYEN_ROOT.*|BINARYEN_ROOT = '$TERMUX_PREFIX/opt/emscripten-binaryen' # directory|"
|
sed -i .emscripten -e "s|^BINARYEN_ROOT.*|BINARYEN_ROOT = '$TERMUX_PREFIX/opt/emscripten-binaryen' # directory|"
|
||||||
|
Loading…
Reference in New Issue
Block a user