mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-03 16:03:21 +00:00
Force the readelf call to be in English
Summary: For example, when readelf is called on a french localization, it will find "Librairie partagées" instead of "shared library" Reviewers: AndreyChurbanov, jcownie Differential Revision: http://reviews.llvm.org/D12902 llvm-svn: 247787
This commit is contained in:
parent
205d1993bb
commit
6dabac88db
@ -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)" );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user