1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

testcurl.pl: build example programs for Android cross-compiles

This commit is contained in:
Yang Tse 2012-04-13 19:33:45 +02:00
parent c156b916a4
commit 4d2c3f0a4d

View File

@ -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;