summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-26 12:05:44 -0400
committermidipix <writeonce@midipix.org>2016-04-26 12:05:44 -0400
commit9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096 (patch)
tree2b7a63285ae267484a470090bd22ac7fefdfd096 /src
parent74e48525f7141f8f6f89adce9ce2270144267712 (diff)
downloadslibtool-9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096.tar.bz2
slibtool-9ff9ad38a4656a8e3f3d49bdbd9a5f08d490d096.tar.xz
driver: fix darwin flavor detection.
Diffstat (limited to 'src')
-rw-r--r--src/driver/slbt_driver_ctx.c2
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";