From 97e6b665c74f3a1312e128201d7062fcb3966d24 Mon Sep 17 00:00:00 2001 From: synt-xerror <169557594+synt-xerror@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:12:22 -0300 Subject: [PATCH] [termux] testing support for termux v9 --- setup | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup b/setup index 4775f0d..f31a327 100755 --- a/setup +++ b/setup @@ -144,7 +144,7 @@ if [[ "$PREFIX" == *"com.termux"* ]]; then clang make pkg-config - python + python3 chromium libvips xorgproto @@ -162,7 +162,11 @@ if [[ "$PREFIX" == *"com.termux"* ]]; then log_info "Reconstruindo módulo sharp" rm -rf node_modules/sharp - run_cmd npm rebuild sharp + + export GYP_DEFINES="OS=linux" + export npm_config_build_from_source=true + + run_cmd npm install sharp --build-from-source fi # ------------------------