From a8b6ddb4a10e8c93465de0c28444787a0939a9b9 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 20 Feb 2024 06:52:17 +0000 Subject: host interfaces: added msys as its own flavor. --- src/host/slbt_host_params.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/host/slbt_host_params.c') diff --git a/src/host/slbt_host_params.c b/src/host/slbt_host_params.c index 2fa7f11..e140885 100644 --- a/src/host/slbt_host_params.c +++ b/src/host/slbt_host_params.c @@ -214,6 +214,8 @@ slbt_hidden int slbt_init_host_params( host->flavor = "bsd"; else if ((dash && !strcmp(dash,"-cygwin")) || strstr(machine,"-cygwin-")) host->flavor = "cygwin"; + else if ((dash && !strcmp(dash,"-msys")) || strstr(machine,"-msys-")) + host->flavor = "msys"; else if ((dash && !strcmp(dash,"-darwin")) || strstr(machine,"-darwin")) host->flavor = "darwin"; else if ((dash && !strcmp(dash,"-linux")) || strstr(machine,"-linux-")) @@ -361,6 +363,7 @@ slbt_hidden int slbt_init_host_params( cfgmeta->windres = cfgexplicit; else if (strcmp(host->flavor,"cygwin") + && strcmp(host->flavor,"msys") && strcmp(host->flavor,"midipix") && strcmp(host->flavor,"mingw")) { host->windres = ""; @@ -386,6 +389,7 @@ slbt_hidden int slbt_init_host_params( cfgmeta->dlltool = cfgmeta_dlltool ? cfgmeta_dlltool : cfgexplicit; else if (strcmp(host->flavor,"cygwin") + && strcmp(host->flavor,"msys") && strcmp(host->flavor,"midipix") && strcmp(host->flavor,"mingw")) { host->dlltool = ""; @@ -411,6 +415,7 @@ slbt_hidden int slbt_init_host_params( cfgmeta->mdso = cfgexplicit; else if (strcmp(host->flavor,"cygwin") + && strcmp(host->flavor,"msys") && strcmp(host->flavor,"midipix") && strcmp(host->flavor,"mingw")) { host->mdso = ""; -- cgit v1.2.3