mbox series

[FFmpeg-devel,0/1] Enable building in Windows Subsystem for Linux and MSVC compilers

Message ID 20221002234755.3354-1-dev@rocha.red
Headers show
Series Enable building in Windows Subsystem for Linux and MSVC compilers | expand

Message

Julio C. Rocha Oct. 2, 2022, 11:47 p.m. UTC
When building on Windows (CYGWIN or WSL), generated .d files contain the
MSYS2/CYGWIN path format (i.e. C:/MyRepos/ffmpeg).
This causes make commands such as clean an install to fail when running on WSL.

This patch detects whether WSL is being used and converts the paths to standard
UNIX paths (i.e /mnt/c/MyRepos/ffmpeg).

Julio C. Rocha (1):
  Enable building with WSL and MSVC

 configure | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)