Hi, thanks for this very useful project.
Termux allows to use a Linux environment on android devices. It uses the path "/data/data/com.termux/files/usr", or $PREFIX instead of the conventional paths usually found on linux because of the way android works. Unrooted devices don't have access to /usr. Therefore, during configuration, the path to libclang isn't found. See:
I currently see three downsides with adding the termux folder:
Users can just compile it by calling ./configure --llvm-path=$PREFIX . This could be added to the readme but still requires manual intervention.
This doesn't use the $PREFIX environment variable, because it is not available at compiletime. But the above link suggests that the expanded path is stable
Hi, thanks for this very useful project. Termux allows to use a Linux environment on android devices. It uses the path "/data/data/com.termux/files/usr", or $PREFIX instead of the conventional paths usually found on linux because of the way android works. Unrooted devices don't have access to /usr. Therefore, during configuration, the path to libclang isn't found. See:
https://wiki.termux.com/wiki/Getting_started
I currently see three downsides with adding the termux folder:
./configure --llvm-path=$PREFIX
. This could be added to the readme but still requires manual intervention.