blob: c5bbe7888edb8c0994ab15ba45e48b77e543238a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
From a033c9ece12b6eead48eed63f106ccdec6159b0c Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 20 Dec 2019 16:26:55 +0100
Subject: [PATCH] CheckLib.pm: do not attempt to run a cross executable
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
inc/Devel/CheckLib.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inc/Devel/CheckLib.pm b/inc/Devel/CheckLib.pm
index 36a451a..b04acc1 100644
--- a/inc/Devel/CheckLib.pm
+++ b/inc/Devel/CheckLib.pm
@@ -330,7 +330,7 @@ sub assert_lib {
push @missing, $lib if $rv != 0 || !-x $exefile;
my $absexefile = File::Spec->rel2abs($exefile);
$absexefile = '"' . $absexefile . '"' if $absexefile =~ m/\s/;
- push @wrongresult, $lib if $rv == 0 && -x $exefile && system($absexefile) != 0;
+ push @wrongresult, $lib if $rv == 0 && -x $exefile && 0 != 0;
unlink $ofile if -e $ofile;
_cleanup_exe($exefile);
}
|