diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-04-05 17:28:49 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-08 21:08:06 +0300 |
commit | af820b77d88be0865169aa7f2f66a60f41675825 (patch) | |
tree | 30b2e379b4230e1e614b895b7de42a905da59d6e /mesonbuild/interpreter.py | |
parent | c80ca384b22547147ad1515cc6527dacc4c72fe0 (diff) | |
download | meson-af820b77d88be0865169aa7f2f66a60f41675825.zip meson-af820b77d88be0865169aa7f2f66a60f41675825.tar.gz meson-af820b77d88be0865169aa7f2f66a60f41675825.tar.bz2 |
Allow specifying windres binary in cross files
When cross compiling with mingw it's problematic to assume that there is
a binary called windres, and having to set it via an environment
variable seems wrong when there is a handy cross-file for just such a
situation.
This patch allows setting windres in the [binaries] section of the cross
file. If the build is a cross build, then the windows module will check
for windres being set in the cross file before checking the WINDRES
environment variable or looking for a windres binary.
Diffstat (limited to 'mesonbuild/interpreter.py')
0 files changed, 0 insertions, 0 deletions