summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md5
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</code></pre>
<details>
<summary>Termux</summary>
-<pre><code>
+<pre><code>pkg install x11-repo
pkg update
-pkg install xcb-util-keysyms xorgproto libxcursor libx11 libxinerama libandroid-wordexp
-</code></pre>
+pkg install clang make xcb-util-keysyms xorgproto libxcursor libx11 libxinerama libandroid-wordexp</code></pre>
</details>
---