ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../sysdeps/unix/sysv/linux/ldd-rewrite.sed

12 lines
277 B
Sed
Raw Normal View History

2024-04-01 15:19:46 +00:00
/Maybe extra code for non-ELF binaries/a\
file=$1\
# Run the ldd stub.\
lddlibc4 "$file"\
# Test the result.\
if test $? -lt 3; then\
return 0;\
fi\
# In case of an error punt.
/LD_TRACE_LOADED_OBJECTS=1/a\
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"