summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-07-11 05:09:43 -0400
committermidipix <writeonce@midipix.org>2018-07-11 06:05:44 -0400
commitae685472305e04409a92afdcc725826cc50bfdab (patch)
tree8f2fa4a7905a22cff8301ed9c8b60db9d90927b4 /src
parent66a3c29002c85e373c1cedbde05b7512b9589dcf (diff)
downloadslibtool-ae685472305e04409a92afdcc725826cc50bfdab.tar.bz2
slibtool-ae685472305e04409a92afdcc725826cc50bfdab.tar.xz
slbt_init_host_params(): flavor detection: associate -windows- with mingw.
Diffstat (limited to 'src')
-rw-r--r--src/driver/slbt_driver_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index df26bf9..eff7e55 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -561,6 +561,8 @@ static int slbt_init_host_params(
host->flavor = "mingw";
else if ((dash && !strcmp(dash,"-mingw64")) || strstr(machine,"-mingw64-"))
host->flavor = "mingw";
+ else if ((dash && !strcmp(dash,"-windows")) || strstr(machine,"-windows-"))
+ host->flavor = "mingw";
else {
host->flavor = "default";
cfgmeta->flavor = "fallback, unverified";