Pass full path to ldd(1) so it works on files in cwd.
This commit is contained in:
parent
84f11f7741
commit
3cf803621d
@ -21,7 +21,7 @@ esac
|
||||
|
||||
# Gather all symbols from the target
|
||||
unresolved_symbols=$(nm ${DEMANGLE} -D -u --format=posix "$1" | awk '$2 == "U" {print $1}' | tr '\n' ' ')
|
||||
ldd_libs=$(ldd $1 | awk '{print $1 ":" $3}')
|
||||
ldd_libs=$(ldd $(realpath $1) | awk '{print $1 ":" $3}')
|
||||
|
||||
libkey() {
|
||||
libkey="lib_symbols_$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user