Skip to content

add: termux building support - #333

Merged
ThePedroo merged 1 commit into
PerformanC:mainfrom
TheSillyOk:termux
Apr 25, 2026
Merged

add: termux building support#333
ThePedroo merged 1 commit into
PerformanC:mainfrom
TheSillyOk:termux

Conversation

@TheSillyOk

Copy link
Copy Markdown
Contributor

Changes

Add checks for when $TERMUX_VERSION is set, indicating builds done on Termux, and then adding a special case to use the PATH's clang, llvm-ar and strip commands instead of the ones inside the ndk toolchain directory which cannot be used on Termux. And also adapts the install[...] commands to support being ran on Termux by not using adb to run them.

Additionally it also removes the -latomic arg which causes a building error on my environment and should be fine to remove.

Why

Makes it easier to build ReZygisk on Termux, allowing more future contributions while not adding much complexity to the existing building system.

Checkmarks

  • The modified functions have been tested.
  • Used the same indentation as the rest of the project.
  • Updated documentation (changelog).

Additional information

Pending merge to update submodules to fully build RZ from Termux:

@TheSillyOk TheSillyOk closed this Apr 21, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
@ThePedroo ThePedroo reopened this Apr 21, 2026
@PerformanC PerformanC unlocked this conversation Apr 21, 2026
This commit brings support to Termux building by checking if `$TERMUX_VERSION` is set and then using the path's binaries for building instead or the ones provided by NDK and adapts the install[...] options when building to also support to be ran on Termux.

Signed-off-by: TheSillyOk <194730369+TheSillyOk@users.noreply.github.com>

@ThePedroo ThePedroo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok-ish

@ThePedroo
ThePedroo merged commit 17ed00a into PerformanC:main Apr 25, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants