Merge "Ignore LD_LIBRARY_PATH when determining file type in ldd."
This commit is contained in:
commit
2d24fe21ba
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ function error() {
|
|||
|
||||
[ $# -eq 1 ] || error "usage: ldd FILE"
|
||||
|
||||
what=$(file -L "$1")
|
||||
what=$(LD_LIBRARY_PATH= file -L "$1")
|
||||
case "$what" in
|
||||
*32-bit*)
|
||||
linker --list "$1"
|
||||
|
|
Loading…
Reference in a new issue