Lines 35-42
Link Here
|
35 |
target_files="$target_files $toadd" |
35 |
target_files="$target_files $toadd" |
36 |
if test -x "$path"; then |
36 |
if test -x "$path"; then |
37 |
# Only call ldd when it makes sense |
37 |
# Only call ldd when it makes sense |
38 |
if file "$path" | grep 'ELF' > /dev/null 2>&1; then |
38 |
if file -L "$path" | grep 'ELF' > /dev/null 2>&1; then |
39 |
if ! file "$path" | grep 'static' > /dev/null 2>&1; then |
39 |
if ! file -L "$path" | grep 'static' > /dev/null 2>&1; then |
40 |
# ldd now outputs ld as /lib/ld-linux.so.xx on current nptl based glibc |
40 |
# ldd now outputs ld as /lib/ld-linux.so.xx on current nptl based glibc |
41 |
# this regexp parse the outputs like: |
41 |
# this regexp parse the outputs like: |
42 |
# ldd /usr/bin/gcc |
42 |
# ldd /usr/bin/gcc |