From ae685472305e04409a92afdcc725826cc50bfdab Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 11 Jul 2018 05:09:43 -0400 Subject: slbt_init_host_params(): flavor detection: associate -windows- with mingw. --- src/driver/slbt_driver_ctx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/driver/slbt_driver_ctx.c') 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"; -- cgit v1.2.3