Difference between revisions of "Compiling ScummVM/MinGW-w64"

Jump to navigation Jump to search
m
no edit summary
m
Line 8: Line 8:
We don't recommend using this method if you want to distribute your ScummVM builds. Release builds should be done using [[Compiling ScummVM/MXE|MXE]] if possible, since this allows building an (almost) statically linked executable for easy distribution. Feel free to contact me (rootfather) either via eMail or IRC if you have questions regarding MSYS2/MinGW-w64.
We don't recommend using this method if you want to distribute your ScummVM builds. Release builds should be done using [[Compiling ScummVM/MXE|MXE]] if possible, since this allows building an (almost) statically linked executable for easy distribution. Feel free to contact me (rootfather) either via eMail or IRC if you have questions regarding MSYS2/MinGW-w64.
|}
|}


{| border="0" cellpadding="1" cellspacing="2" style="margin-left:5em; background:#FF9999; width:80%"
{| border="0" cellpadding="1" cellspacing="2" style="margin-left:5em; background:#FF9999; width:80%"
Line 18: Line 19:
If you need to support older Windows, check out [[Compiling_ScummVM/MinGW|MinGW]].
If you need to support older Windows, check out [[Compiling_ScummVM/MinGW|MinGW]].
|}
|}


== Prepare your build environment ==
== Prepare your build environment ==
Line 53: Line 55:
First, clone the repository containing the mingw-w64 package files in a seperate directory:
First, clone the repository containing the mingw-w64 package files in a seperate directory:
  git clone <nowiki>https://github.com/msys2/MINGW-packages</nowiki>
  git clone <nowiki>https://github.com/msys2/MINGW-packages</nowiki>
Now, we need to modify the file mingw-w64-curl/PKGBUILD which contains all the instructions makepkg uses for building the final package. At the beginning of the file, select the winssl variant instead of the default openssl version.
Now, we need to modify the file <pre>mingw-w64-curl/PKGBUILD</pre> which contains all the instructions <pre>makepkg</pre> uses for building the final package. At the beginning of the file, select the winssl variant instead of the default openssl version.
  #_variant=-openssl
  #_variant=-openssl
  _variant=-winssl
  _variant=-winssl
329

edits

Navigation menu