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.
This commit is contained in:
Kevin Mitchell 2016-03-18 17:40:27 -07:00
parent 717845dc5d
commit b29af6a4bd
1 changed files with 2 additions and 2 deletions

View File

@ -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