Fix ETC_DIR for unrooted Android/Termux
On unrooted phones this will cause permission denied error. Or we are targeting only rooted Android devices?
This commit is contained in:
parent
d6ed9130fb
commit
d03cce5fb5
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -13,6 +13,7 @@ ifeq ($(PLATFORM), Linux)
|
|||
MANDIR = share/man/man1
|
||||
ifeq ($(shell uname -o), Android)
|
||||
DESTDIR = /data/data/com.termux/files/usr
|
||||
ETC_DIR = $(DESTDIR)/etc
|
||||
endif
|
||||
else ifeq ($(PLATFORM), Darwin)
|
||||
PREFIX = local/bin
|
||||
|
|
Loading…
Reference in a new issue