From b29af6a4bda23c5a99ea4422665d8cc903db470f Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 18 Mar 2016 17:40:27 -0700 Subject: DOCS/compile-windows.md: use CC=gcc.exe for msys2 compile The .exe extension *is* required. It only kind of worked without it due to the --check-c-compiler flag. --- DOCS/compile-windows.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/compile-windows.md b/DOCS/compile-windows.md index bb0ddcb19e..364a057183 100644 --- a/DOCS/compile-windows.md +++ b/DOCS/compile-windows.md @@ -156,14 +156,14 @@ Finally, compile and install mpv. Binaries will be installed to ```bash # For a 32-bit build, use --prefix=/mingw32 instead -./waf configure CC=gcc --check-c-compiler=gcc --prefix=/mingw64 +./waf configure CC=gcc.exe --check-c-compiler=gcc --prefix=/mingw64 ./waf install ``` Or, compile and install both libmpv and mpv: ```bash -./waf configure CC=gcc --check-c-compiler=gcc --enable-libmpv-shared --prefix=/mingw64 +./waf configure CC=gcc.exe --check-c-compiler=gcc --enable-libmpv-shared --prefix=/mingw64 ./waf install # waf installs libmpv to the wrong directory, so fix it up -- cgit v1.2.3