Hi all,

libtool has a sort of "fixpath" feature to convert between the native
paths used by the environment and the actual path format that the
toolchain and host uses. There are path adapters for Cygwin and MSYS,
but noticeably support for the WSL environment is not present. This
unfortunately makes compiling codebases that use libtool for native
Windows quite difficult on WSL. I've looked at the ltmain.in template
and it seems that to support path conversion from WSL paths to
something the toolchain can handle, we can define something similar to
func_convert_file_msys_to_w32, such as func_convert_file_wsl_to_w32 to
convert the paths, which can be rather easily done with wslpath just
as MSYS uses cygpath. Would this be worthwhile to implement or would
it be too disruptive a change?

best regards,
Julian

Reply via email to