]> granicus.if.org Git - curl/commitdiff
testcurl.pl: build example programs for Android cross-compiles
authorYang Tse <yangsita@gmail.com>
Fri, 13 Apr 2012 17:33:45 +0000 (19:33 +0200)
committerYang Tse <yangsita@gmail.com>
Fri, 13 Apr 2012 17:33:45 +0000 (19:33 +0200)
tests/testcurl.pl

index 02293d80fde414266e7d24f9a09e9cfefc4a74d1..ebcebefe6c89cb2607ae6be50f6f2968cd627cc8 100755 (executable)
@@ -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;