Browse Source

Merge pull request #659 from Keno/patch-2

Fix cross compilation suffix detection
tags/v0.2.15^2
Zhang Xianyi 10 years ago
parent
commit
ccf581f94d
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