Skip to content

Commit

Permalink
fix: unable to make install in termux, because of file system redirec…
Browse files Browse the repository at this point in the history
…tion (#908)
  • Loading branch information
fxliang authored Jul 3, 2024
1 parent cc332cc commit 3bb4fe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ ifdef BUILD_UNIVERSAL
# https://cmake.org/cmake/help/latest/envvar/CMAKE_OSX_ARCHITECTURES.html
export CMAKE_OSX_ARCHITECTURES = arm64;x86_64
endif

else ifeq ($(shell test -n "$$PREFIX" && echo "$$PREFIX" | grep -q "/data/data/com.termux" && echo "termux"),termux)
prefix ?= $(PREFIX)
else # for Linux
prefix ?= $(DESTDIR)/usr
endif
Expand Down

0 comments on commit 3bb4fe9

Please sign in to comment.