summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xopenmp/runtime/tools/check-depends.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/openmp/runtime/tools/check-depends.pl b/openmp/runtime/tools/check-depends.pl
index b19987781a0..02a7ddd9e92 100755
--- a/openmp/runtime/tools/check-depends.pl
+++ b/openmp/runtime/tools/check-depends.pl
@@ -105,6 +105,11 @@ sub get_deps_readelf($) {
$tool = "readelf";
}
+ # Force the readelf call to be in English. For example, when readelf
+ # is called on a french localization, it will find "Librairie partagees"
+ # instead of shared library
+ $ENV{ LANG } = "C";
+
execute( [ $tool, "-d", $file ], -stdout => \@bulk );
debug( @bulk, "(eof)" );
OpenPOWER on IntegriCloud