Browse Source

Fix cross compilation suffix detection

If the path involves `-`, this would have otherwise detected this as a cross compile suffix.
tags/v0.2.15^2
Keno Fischer 10 years ago
parent
commit
e9493f69eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c_check

+ 1
- 1
c_check View File

@@ -30,7 +30,7 @@ if ($ARGV[0] =~ /(.*)(-[.\d]+)/) {
$cross_suffix = $1;
}
} else {
if ($ARGV[0] =~ /(.*-)(.*)/) {
if ($ARGV[0] =~ /([^\/]*-)([^\/]*$)/) {
$cross_suffix = $1;
}
}


Loading…
Cancel
Save