From 9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 26 Apr 2016 12:05:44 -0400 Subject: driver: fix darwin flavor detection. --- src/driver/slbt_driver_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 f3c13ca..15cc81d 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -381,7 +381,7 @@ static 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,"-darwin")) || strstr(machine,"-darwin-")) + else if ((dash && !strcmp(dash,"-darwin")) || strstr(machine,"-darwin")) host->flavor = "darwin"; else if ((dash && !strcmp(dash,"-linux")) || strstr(machine,"-linux-")) host->flavor = "linux"; -- cgit v1.2.3