diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-03-18 17:40:27 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-03-18 18:10:09 -0700 |
commit | b29af6a4bda23c5a99ea4422665d8cc903db470f (patch) | |
tree | 8648d6b872d47f81d0b05b0c6876bc148774177e | |
parent | 717845dc5dcbf5c5cb55fafd24a40479b4d57fb5 (diff) | |
download | mpv-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.
-rw-r--r-- | DOCS/compile-windows.md | 4 |
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 |