emscripten: remove -git suffix during packaging

This commit is contained in:
Jia Yuan Lo 2022-01-18 10:14:17 +08:00 committed by Leonid Pliushch
parent 7e36a8c62d
commit 21672e9fba
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,9 @@ termux_step_make() {
}
termux_step_make_install() {
# https://github.com/emscripten-core/emscripten/pull/15840
sed -e "s|-git||" -i "$TERMUX_PKG_SRCDIR/emscripten-version.txt"
# skip using Makefile which does host npm install
rm -fr "$TERMUX_PREFIX/opt/emscripten"
./tools/install.py "$TERMUX_PREFIX/opt/emscripten"