Convert source paths to Windows format path#562
Conversation
|
I'm not sure we can be positive that cygpath is always available, can we? Can this be changed to support the case where cygpath isn't available? |
|
Thank you for your review. The script assumes Cygwin (e.g.: https://github.com/libffi/libffi/blob/master/msvcc.sh#L168-L185). Your proposal might make sense in order to support WSL. I can't test it, though. Please check f73c4ea, which works under Cygwin. |
|
The build failure seems unrelated to the changes:
Could you verify? |
|
Somewhat related... Working with cygwin from cmd, I find issues with improper quoting as illustrated here: java-native-access/jna@112d76d. Specifically, there are relative includes (e.g.
Apparently MSYS2 would also benefit from such a tool although the MSYS1 documentation states it does it automatically?
|
This is needed for cross building libffi for Windows under Cygwin.