diff options
author | midipix <writeonce@midipix.org> | 2016-04-26 12:05:44 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-26 12:05:44 -0400 |
commit | 9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096 (patch) | |
tree | 2b7a63285ae267484a470090bd22ac7fefdfd096 /src | |
parent | 74e48525f7141f8f6f89adce9ce2270144267712 (diff) | |
download | slibtool-9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096.tar.bz2 slibtool-9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096.tar.xz |
driver: fix darwin flavor detection.
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |