From dc2058128e3f4420db2dd4067e11d30d999c7539 Mon Sep 17 00:00:00 2001 From: Welpyes Date: Thu, 25 Sep 2025 12:34:01 +0800 Subject: Added Termux build instructions --- Makefile | 2 +- README.md | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b80f809..b0e1e87 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ CPPFLAGS += $(shell $(PKG_CONFIG) --cflags x11 xinerama xcursor) LDLIBS := $(shell $(PKG_CONFIG) --libs x11 xinerama xcursor) endif -# Termux detection for libandroid-wordexp +# Termux detection for dependency ifneq ($(shell if [ "$$PREFIX" = "/data/data/com.termux/files/usr" ]; then echo yes; fi),) LDLIBS += -landroid-wordexp endif diff --git a/README.md b/README.md index 4be51f7..29a62fd 100644 --- a/README.md +++ b/README.md @@ -299,10 +299,9 @@ sudo pkg install gcc gmake libX11 libXinerama
Termux -

+
pkg install x11-repo
 pkg update
-pkg install xcb-util-keysyms xorgproto libxcursor libx11 libxinerama libandroid-wordexp
-
+pkg install clang make xcb-util-keysyms xorgproto libxcursor libx11 libxinerama libandroid-wordexp
--- -- cgit v1.2.3