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_flavor.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/host/slbt_host_flavor.c') diff --git a/src/host/slbt_host_flavor.c b/src/host/slbt_host_flavor.c index 1df5413..b5f6f45 100644 --- a/src/host/slbt_host_flavor.c +++ b/src/host/slbt_host_flavor.c @@ -52,6 +52,12 @@ SLBT_FLAVOR_SETTINGS(host_flavor_cygwin, \ "",".exe","lib",".dll.a", \ "PATH"); +SLBT_FLAVOR_SETTINGS(host_flavor_msys, \ + "pe",0, \ + "lib",".a","lib",".dll","",".dll", \ + "",".exe","lib",".dll.a", \ + "PATH"); + SLBT_FLAVOR_SETTINGS(host_flavor_darwin, \ "macho","-fPIC", \ "lib",".a","lib",".dylib","",".dylib", \ @@ -123,6 +129,8 @@ slbt_hidden void slbt_init_flavor_settings( settings = &host_flavor_mingw; else if (!strcmp(host->flavor,"cygwin")) settings = &host_flavor_cygwin; + else if (!strcmp(host->flavor,"msys")) + settings = &host_flavor_msys; else if (!strcmp(host->flavor,"darwin")) settings = &host_flavor_darwin; else @@ -154,6 +162,8 @@ int slbt_host_flavor_settings( *settings = &host_flavor_mingw; else if (!strcmp(flavor,"cygwin")) *settings = &host_flavor_cygwin; + else if (!strcmp(flavor,"msys")) + *settings = &host_flavor_msys; else if (!strcmp(flavor,"darwin")) *settings = &host_flavor_darwin; else if (!strcmp(flavor,"default")) -- cgit v1.2.3