From 4d2c3f0a4de48eb8d99a83cc5aa046560443fe75 Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Fri, 13 Apr 2012 19:33:45 +0200
Subject: [PATCH] testcurl.pl: build example programs for Android
 cross-compiles

---
 tests/testcurl.pl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 02293d80fd..ebcebefe6c 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;
-- 
GitLab