Redfoxmoon / cross / slibtool

Forked from cross/slibtool a year ago
Clone

9ff9ad driver: fix darwin flavor detection.

Authored and Committed by midipix 8 years ago
    driver: fix darwin flavor detection.
    
        
file modified
+1 -1
src/driver/slbt_driver_ctx.c CHANGED
@@ -381,7 +381,7 @@ static int slbt_init_host_params(
381
381
host->flavor = "bsd";
382
382
else if ((dash && !strcmp(dash,"-cygwin")) || strstr(machine,"-cygwin-"))
383
383
host->flavor = "cygwin";
384
- else if ((dash && !strcmp(dash,"-darwin")) || strstr(machine,"-darwin-"))
384
+ else if ((dash && !strcmp(dash,"-darwin")) || strstr(machine,"-darwin"))
385
385
host->flavor = "darwin";
386
386
else if ((dash && !strcmp(dash,"-linux")) || strstr(machine,"-linux-"))
387
387
host->flavor = "linux";