From 9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096 Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 26 2016 16:05:44 +0000 Subject: driver: fix darwin flavor detection. --- 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";