summaryrefslogtreecommitdiffstats
path: root/DOCS/compile-windows.md
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-03-18 17:40:27 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-03-18 18:10:09 -0700
commitb29af6a4bda23c5a99ea4422665d8cc903db470f (patch)
tree8648d6b872d47f81d0b05b0c6876bc148774177e /DOCS/compile-windows.md
parent717845dc5dcbf5c5cb55fafd24a40479b4d57fb5 (diff)
downloadmpv-b29af6a4bda23c5a99ea4422665d8cc903db470f.tar.bz2
mpv-b29af6a4bda23c5a99ea4422665d8cc903db470f.tar.xz
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.
Diffstat (limited to 'DOCS/compile-windows.md')
-rw-r--r--DOCS/compile-windows.md4
1 files changed, 2 insertions, 2 deletions
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