diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-13 19:33:45 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-13 19:33:45 +0200 |
commit | 4d2c3f0a4de48eb8d99a83cc5aa046560443fe75 (patch) | |
tree | fb7ec22fb386c1620fbbd0326a0caa06a8ffabaf | |
parent | c156b916a403c0732f2b033bef20517fc66922ea (diff) |
testcurl.pl: build example programs for Android cross-compiles
-rwxr-xr-x | tests/testcurl.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 02293d80f..ebcebefe6 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -73,7 +73,7 @@ use vars qw($name $email $desc $confopts $runtestopts $setupfile $mktarball $timestamp $notes); # version of this script -$version='2012-04-12'; +$version='2012-04-13'; $fixed=0; # Determine if we're running from git or a canned copy of curl, @@ -726,7 +726,8 @@ else { if($crosscompile) { my $host_triplet = get_host_triplet(); # build example programs for selected cross-compiles - if($host_triplet =~ /([^-]+)-([^-]+)-mingw(.*)/) { + if(($host_triplet =~ /([^-]+)-([^-]+)-mingw(.*)/) || + ($host_triplet =~ /([^-]+)-([^-]+)-android(.*)/)) { chdir "$pwd/$build/docs/examples"; logit_spaced "build examples"; open(F, "$make -i 2>&1 |") or die; |