[sdks] Debian Linux doesn't need to build MXE
commit757a45bcf9267cb7981d84ddb363201ccc164a1d
authorMarek Habersack <grendel@twistedcode.net>
Wed, 26 Sep 2018 14:28:01 +0000 (26 16:28 +0200)
committerMarek Safar <marek.safar@gmail.com>
Thu, 27 Sep 2018 07:19:30 +0000 (27 09:19 +0200)
tree7f72f7f1db658d84c470760c61cd4c5681c77582
parenta242681d04e1eaf81fde69663b9a6a7628b7d0df
[sdks] Debian Linux doesn't need to build MXE

Debian and its derivatives include full mingw chain (both 64 and 32-bit) and so
they don't need to build the toolchain at all. However, the current detection of
Linux flavor takes into account only Ubuntu and all other distros are configured
to *require* MXE but they do *not* build them.

This commit fixes detection of distros which provide the mingw toolchain in a
way that makes it easy to extend the set of compatible distributions as needed.
In order to mark a distribution as one with MinGW one has to add the `:Distro:`
string to the `LINUX_WITH_MINGW` make variable in `mxe.mk`. The `Distro` string
is whatever the `determine-linux-flavor.sh` script returns.
sdks/builds/mxe.mk